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.WorldMapBaseSymbolV1,WorldMapSymbolsV1.WorldMapTextSymbolV1,WorldMapSymbolsV1.WorldMapTextureSymbolV1
public interface IPooledObject
-
Method Summary
Modifier and Type Method Description PoolgetPool()booleanisFree()default voidonReleased()voidrelease()static voidrelease(java.util.List list)static voidrelease(IPooledObject[] iPooledObjectArray)static voidreleaseAndBlank(IPooledObject[] iPooledObjectArray)voidsetFree(boolean boolean1)voidsetPool(Pool pool)static voidtryReleaseAndBlank(IPooledObject[] iPooledObjectArray)
-
Method Details
-
getPool
Pool getPool() -
setPool
-
release
void release() -
isFree
boolean isFree() -
setFree
void setFree(boolean boolean1) -
onReleased
default void onReleased() -
release
-
tryReleaseAndBlank
-
releaseAndBlank
-
release
static void release(java.util.List list)
-