Class BackedGeneralPriorityQueue.Entry<E,K extends Comparable<K>>
- java.lang.Object
-
- net.automatalib.common.smartcollection.BackedGeneralPriorityQueue.Entry<E,K>
-
- All Implemented Interfaces:
Comparable<BackedGeneralPriorityQueue.Entry<E,K>>
- Enclosing class:
- BackedGeneralPriorityQueue<E,K extends Comparable<K>>
public static class BackedGeneralPriorityQueue.Entry<E,K extends Comparable<K>> extends Object implements Comparable<BackedGeneralPriorityQueue.Entry<E,K>>
Note: this class has a natural ordering that is inconsistent with equals.
-
-
Field Detail
-
element
public E element
-
key
public @Nullable K extends Comparable<K> key
-
-
Method Detail
-
compareTo
public int compareTo(BackedGeneralPriorityQueue.Entry<E,K> o)
- Specified by:
compareTo
in interfaceComparable<E>
-
-