Class BucketList.Bucket<E>
java.lang.Object
com.hypixel.hytale.common.collection.BucketList.Bucket<E>
- Enclosing class:
BucketList<E>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BucketItem<E>[]protected booleanprotected booleanprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(BucketItem<E> item) voidclear(BucketItemPool<E> pool) BucketItem<E>[]getItems()booleanisEmpty()booleanintsize()voidsort(BucketList.SortBufferProvider sortBufferProvider)
-
Field Details
-
bucketItems
-
size
protected int size -
isUnsorted
protected boolean isUnsorted -
isEmpty
protected boolean isEmpty
-
-
Constructor Details
-
Bucket
public Bucket(int initialBucketArraySize)
-
-
Method Details
-
getItems
-
size
public int size() -
isUnsorted
public boolean isUnsorted() -
isEmpty
public boolean isEmpty() -
clear
-
add
-
sort
-