Package zombie.util

Interface IPooledObject

All Known Implementing Classes:
AnimationPlayer, AnimationTrack, BoneTransform, Comparators.Params1.CallbackStackItem, Comparators.Params2.CallbackStackItem, Consumers.Params1.CallbackStackItem, Consumers.Params2.CallbackStackItem, Consumers.Params3.CallbackStackItem, Consumers.Params4.CallbackStackItem, Consumers.Params5.CallbackStackItem, GameProfiler.ProfileArea, GameProfileRecording.Span, Invokers.Params1.CallbackStackItem, Invokers.Params2.CallbackStackItem, Invokers.Params3.CallbackStackItem, Invokers.Params4.CallbackStackItem, LiveAnimNode, ModelInstanceDebugRenderData, ModelSlotDebugRenderData, ModelTransformSampler, PooledAnimBoneWeightArray, PooledArrayObject, PooledFloatArrayObject, PooledObject, PooledObjectArrayObject, Predicates.Params1.CallbackStackItem, Predicates.Params2.CallbackStackItem, Predicates.Params3.CallbackStackItem, ReturnValueContainer, ReturnValueContainerPrimitives.RVBoolean, ReturnValueContainerPrimitives.RVFloat, ReturnValueContainerPrimitives.RVInt, ShaderStackEntry, Stacks.GenericStack, Stacks.Params1.CallbackStackItem, Stacks.Params2.CallbackStackItem, Stacks.Params3.CallbackStackItem, Stacks.Params4.CallbackStackItem, Stacks.Params5.CallbackStackItem, Stacks.Params6.CallbackStackItem, TwistableBoneTransform, WorldMapGridSquareMarker, WorldMapMarker, WorldMapSymbolsV1.WorldMapTextSymbolV1, WorldMapSymbolsV1.WorldMapTextureSymbolV1

public interface IPooledObject
The base interface of all pooled objects managed by zombie.util.Pool
  • Method Details

    • getPool

      Pool<IPooledObject> getPool()
    • setPool

      void setPool(Pool<IPooledObject> pool)
    • release

      void release()
    • isFree

      boolean isFree()
    • setFree

      void setFree(boolean isFree)
    • onReleased

      default void onReleased()
    • release

      static void release(IPooledObject[] list)
    • tryReleaseAndBlank

      static void tryReleaseAndBlank(IPooledObject[] list)
    • releaseAndBlank

      static void releaseAndBlank(IPooledObject[] list)
    • release

      static void release(List<? extends IPooledObject> list)