Package com.tangosol.util
Class SortedBag.UniqueElement<E>
java.lang.Object
com.tangosol.util.SortedBag.UniqueElement<E>
- All Implemented Interfaces:
Comparable
UniqueElement represents a unique instance of a logical element in the bag.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final E
The "actual" element.protected final long
The unique "id" for this element. -
Constructor Summary
ConstructorDescriptionUniqueElement
(E elem) Create a UniqueElement to represent the specified element. -
Method Summary
-
Field Details
-
f_nUniqueId
protected final long f_nUniqueIdThe unique "id" for this element. -
f_elem
The "actual" element.
-
-
Constructor Details
-
UniqueElement
Create a UniqueElement to represent the specified element.- Parameters:
elem
- the element
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<E>
-