Interface IPooledObject
- All Known Implementing Classes:
AnimationPlayer, AnimationTrack, AnimationVariableWhileAliveFlagCounter, AnimatorsBoneTransform, AnimLayer, AutoCloseablePool, AutoRepiperDebugLogStream.RepiperPacket, BallisticsController, BallisticsTarget, BoneTransform, ByteBufferPooledObject, ClimbThroughWindowPositioningParams, Comparators.Params1.CallbackStackItem, Comparators.Params2.CallbackStackItem, Consumers.Params1.CallbackStackItem, Consumers.Params2.CallbackStackItem, Consumers.Params3.CallbackStackItem, Consumers.Params4.CallbackStackItem, Consumers.Params5.CallbackStackItem, DoublePoint, EditStreetV1, FMODAmbientWallLevelData, FMODAmbientWallLevelData.FMODAmbientWall, GameProfiler.ProfileArea, GameProfileRecording.Span, IntMap, Invokers.Params0.Boolean.CallbackStackItem, Invokers.Params1.CallbackStackItem, Invokers.Params2.CallbackStackItem, Invokers.Params3.CallbackStackItem, Invokers.Params4.CallbackStackItem, Invokers.Params5.CallbackStackItem, LiveAnimationTrackEntry, LiveAnimNode, LiveAnimNode.WhileAliveFlag, LuaEventManager.QueuedEvent, ModelInstanceDebugRenderData, ModelSlotDebugRenderData, ModelTransformSampler, PooledAnimBoneWeightArray, PooledArrayObject, PooledFloatArrayObject, PooledObject, Predicates.Params1.CallbackStackItem, Predicates.Params2.CallbackStackItem, Predicates.Params3.CallbackStackItem, RagdollController, 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, Stacks.Params7.CallbackStackItem, StartAnimTrackParameters, SubLayerSlot, TwistableBoneTransform, WorldMapGridSquareMarker, WorldMapMarker, WorldMapSymbolsV1.WorldMapTextSymbolV1, WorldMapSymbolsV1.WorldMapTextureSymbolV1, WorldMapSymbolsV2.WorldMapTextSymbolV2, WorldMapSymbolsV2.WorldMapTextureSymbolV2
public interface IPooledObject
The base interface of all pooled objects managed by zombie.util.Pool
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisFree()default voidvoidrelease()static <E extends IPooledObject>
E[]release(E[] list) static voidrelease(List<? extends IPooledObject> list) static <E extends IPooledObject>
E[]releaseAndBlank(E[] list) voidsetFree(boolean isFree) voidsetPool(Pool.PoolReference arg0) static <E extends IPooledObject>
E[]tryReleaseAndBlank(E[] list)
-
Method Details
-
getPoolReference
Pool.PoolReference getPoolReference() -
setPool
-
release
void release() -
isFree
boolean isFree() -
setFree
void setFree(boolean isFree) -
onReleased
default void onReleased() -
release
-
tryReleaseAndBlank
-
releaseAndBlank
-
release
-