Package com.bergerkiller.bukkit.common.wrappers

Examples of com.bergerkiller.bukkit.common.wrappers.LongHashSet


  private OfflineGroup(int memberCount) {
    this.members = new OfflineMember[memberCount];
    // Obtain an average of the amount of elements to store for chunks
    // Assume that each member adds 5 chunks every 10 carts
    final int chunkCount = 25 + (int) ((double) (5 / 10) * (double) memberCount);
    this.chunks = new LongHashSet(chunkCount);
    this.loadedChunks = new LongHashSet(chunkCount);
  }
View Full Code Here

TOP

Related Classes of com.bergerkiller.bukkit.common.wrappers.LongHashSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.