public static interface WeakPriorityBlockingQueue.Element<E> extends java.io.Serializable, java.lang.Comparable<WeakPriorityBlockingQueue.Element<E>>, java.util.Comparator<WeakPriorityBlockingQueue.Element<E>>
Modifier and Type | Method and Description |
---|---|
int |
compare(WeakPriorityBlockingQueue.Element<E> o1,
WeakPriorityBlockingQueue.Element<E> o2) |
int |
compareTo(WeakPriorityBlockingQueue.Element<E> o) |
boolean |
equals(WeakPriorityBlockingQueue.Element<E> o) |
E |
getElement() |
long |
getWeight() |
int |
hashCode() |
java.lang.String |
toString() |
long getWeight()
E getElement()
boolean equals(WeakPriorityBlockingQueue.Element<E> o)
int hashCode()
hashCode
in class java.lang.Object
java.lang.String toString()
toString
in class java.lang.Object
int compare(WeakPriorityBlockingQueue.Element<E> o1, WeakPriorityBlockingQueue.Element<E> o2)
compare
in interface java.util.Comparator<WeakPriorityBlockingQueue.Element<E>>
int compareTo(WeakPriorityBlockingQueue.Element<E> o)
compareTo
in interface java.lang.Comparable<WeakPriorityBlockingQueue.Element<E>>