Class BucketList.Bucket<E>

java.lang.Object
com.hypixel.hytale.common.collection.BucketList.Bucket<E>
Enclosing class:
BucketList<E>

public static class BucketList.Bucket<E> extends Object
  • Field Details

    • bucketItems

      protected BucketItem<E>[] bucketItems
    • size

      protected int size
    • isUnsorted

      protected boolean isUnsorted
    • isEmpty

      protected boolean isEmpty
  • Constructor Details

    • Bucket

      public Bucket(int initialBucketArraySize)
  • Method Details

    • getItems

      public BucketItem<E>[] getItems()
    • size

      public int size()
    • isUnsorted

      public boolean isUnsorted()
    • isEmpty

      public boolean isEmpty()
    • clear

      public void clear(@Nonnull BucketItemPool<E> pool)
    • add

      public void add(@Nonnull BucketItem<E> item)
    • sort

      public void sort(@Nonnull BucketList.SortBufferProvider sortBufferProvider)