Class Consumers.Params2.CallbackStackItem<E,T1,T2>
java.lang.Object
zombie.util.PooledObject
zombie.util.lambda.Consumers.Params2.CallbackStackItem<E,T1,T2>
- All Implemented Interfaces:
Consumer<E>
,IPooledObject
- Enclosing class:
Consumers.Params2
public static final class Consumers.Params2.CallbackStackItem<E,T1,T2>
extends PooledObject
implements Consumer<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static <E,
T1, T2>
Consumers.Params2.CallbackStackItem<E, T1, T2> alloc
(T1 object0, T2 object1, Consumers.Params2.ICallback<E, T1, T2> iCallback) void
Methods 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.Params2.CallbackStackItem<E,T2> T1, allocT2> (T1 object0, T2 object1, Consumers.Params2.ICallback<E, T1, T2> iCallback) -
onReleased
public void onReleased()- Specified by:
onReleased
in interfaceIPooledObject
-