Package zombie.util.lambda
Class Comparators.Params2.CallbackStackItem<E,T1,T2>
java.lang.Object
zombie.util.PooledObject
zombie.util.lambda.Comparators.Params2.CallbackStackItem<E,T1,T2>
- All Implemented Interfaces:
Comparator<E>
,IPooledObject
- Enclosing class:
- Comparators.Params2
public static final class Comparators.Params2.CallbackStackItem<E,T1,T2>
extends PooledObject
implements Comparator<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E,
T1, T2> Comparators.Params2.CallbackStackItem<E, T1, T2> alloc
(T1 val1, T2 val2, Comparators.Params2.ICallback<E, T1, T2> 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.Params2.CallbackStackItem<E,T2> T1, allocT2> (T1 val1, T2 val2, Comparators.Params2.ICallback<E, T1, T2> comparator) -
onReleased
public void onReleased()- Specified by:
onReleased
in interfaceIPooledObject
-