Class Consumers.Params1.CallbackStackItem<E,T1>
java.lang.Object
zombie.util.PooledObject
zombie.util.lambda.Consumers.Params1.CallbackStackItem<E,T1>
- All Implemented Interfaces:
Consumer<E>,IPooledObject
- Enclosing class:
Consumers.Params1
public static final class Consumers.Params1.CallbackStackItem<E,T1>
extends PooledObject
implements Consumer<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic <E,T1> Consumers.Params1.CallbackStackItem <E, T1> alloc(T1 object, Consumers.Params1.ICallback<E, T1> iCallback) voidMethods inherited from class zombie.util.PooledObject
getPoolReference, isFree, release, setFree, setPool
-
Constructor Details
-
CallbackStackItem
public CallbackStackItem()
-
-
Method Details
-
accept
-
alloc
public static <E,T1> Consumers.Params1.CallbackStackItem<E,T1> alloc(T1 object, Consumers.Params1.ICallback<E, T1> iCallback) -
onReleased
public void onReleased()- Specified by:
onReleasedin interfaceIPooledObject
-