Package akka.util
Class PriorityQueueStabilizer.WrappedElementComparator<E>
- java.lang.Object
-
- akka.util.PriorityQueueStabilizer.WrappedElementComparator<E>
-
- All Implemented Interfaces:
java.util.Comparator<PriorityQueueStabilizer.WrappedElement<E>>
- Enclosing interface:
- PriorityQueueStabilizer<E>
public static class PriorityQueueStabilizer.WrappedElementComparator<E> extends java.lang.Object implements java.util.Comparator<PriorityQueueStabilizer.WrappedElement<E>>
-
-
Constructor Summary
Constructors Constructor Description WrappedElementComparator(java.util.Comparator<E> cmp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Comparator<E>
cmp()
int
compare(PriorityQueueStabilizer.WrappedElement<E> e1, PriorityQueueStabilizer.WrappedElement<E> e2)
-
-
-
Constructor Detail
-
WrappedElementComparator
public WrappedElementComparator(java.util.Comparator<E> cmp)
-
-
Method Detail
-
cmp
public java.util.Comparator<E> cmp()
-
compare
public int compare(PriorityQueueStabilizer.WrappedElement<E> e1, PriorityQueueStabilizer.WrappedElement<E> e2)
- Specified by:
compare
in interfacejava.util.Comparator<E>
-
-