Package zombie.util

Class PooledArrayObject

java.lang.Object
zombie.util.PooledObject
zombie.util.PooledArrayObject
All Implemented Interfaces:
IPooledObject
Direct Known Subclasses:
PooledAnimBoneWeightArray, PooledObjectArrayObject

public class PooledArrayObject
extends PooledObject
  • Constructor Summary

    Constructors
    Constructor Description
    PooledArrayObject()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object[] array()  
    java.lang.Object get​(int int1)  
    protected void initCapacity​(int int1, java.util.function.Function function)  
    boolean isEmpty()  
    int length()  
    void set​(int int1, java.lang.Object object)  

    Methods inherited from class zombie.util.PooledObject

    getPool, isFree, release, setFree, setPool

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface zombie.util.IPooledObject

    onReleased
  • Constructor Details

    • PooledArrayObject

      public PooledArrayObject()
  • Method Details

    • array

      public java.lang.Object[] array()
    • length

      public int length()
    • get

      public java.lang.Object get​(int int1)
    • set

      public void set​(int int1, java.lang.Object object)
    • initCapacity

      protected void initCapacity​(int int1, java.util.function.Function function)
    • isEmpty

      public boolean isEmpty()