Class ReusableList<T>

java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.ReusableList<T>

public class ReusableList<T> extends Object
  • Constructor Details

    • ReusableList

      public ReusableList()
  • Method Details

    • expandAndSet

      public void expandAndSet(T element)
    • expandAndGet

      @Nullable public T expandAndGet()
    • getSoftSize

      public int getSoftSize()
    • getHardSize

      public int getHardSize()
    • isAtHardCapacity

      public boolean isAtHardCapacity()
    • get

      @Nullable public T get(int index)
    • clear

      public void clear()