protected class SortedBag.UniqueElement<E> extends Object implements Comparable
| Modifier and Type | Field and Description |
|---|---|
protected E |
f_elem
The "actual" element.
|
protected long |
f_nUniqueId
The unique "id" for this element.
|
| Constructor and Description |
|---|
UniqueElement(E elem)
Create a UniqueElement to represent the specified element.
|
protected final long f_nUniqueId
protected final E f_elem
public UniqueElement(E elem)
elem - the elementpublic int compareTo(Object o)
compareTo in interface Comparable