Package zombie.util.lambda
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E,
T1> Comparators.Params1.CallbackStackItem<E, T1> alloc
(T1 val1, Comparators.Params1.ICallback<E, T1> comparator) int
void
Methods inherited from class java.lang.Object
equals, 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 val1, Comparators.Params1.ICallback<E, T1> comparator) -
onReleased
public void onReleased()- Specified by:
onReleased
in interfaceIPooledObject
-