Class Comparators.Params1.CallbackStackItem<E,T1>
java.lang.Object
zombie.util.PooledObject
zombie.util.lambda.Comparators.Params1.CallbackStackItem<E,T1>
- All Implemented Interfaces:
Comparator<E>
,IPooledObject
- Enclosing class:
Comparators.Params1
public static final class Comparators.Params1.CallbackStackItem<E,T1>
extends PooledObject
implements Comparator<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <E,
T1> Comparators.Params1.CallbackStackItem <E, T1> alloc
(T1 object, Comparators.Params1.ICallback<E, T1> iCallback) int
void
Methods inherited from class zombie.util.PooledObject
getPoolReference, isFree, release, setFree, setPool
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
CallbackStackItem
public CallbackStackItem()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<E>
-
alloc
public static <E,T1> Comparators.Params1.CallbackStackItem<E,T1> alloc(T1 object, Comparators.Params1.ICallback<E, T1> iCallback) -
onReleased
public void onReleased()- Specified by:
onReleased
in interfaceIPooledObject
-