Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.util
Class SortedBag.UniqueElement

java.lang.Object
  extended by com.tangosol.util.SortedBag.UniqueElement

All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
SortedBag

protected class SortedBag.UniqueElement
extends java.lang.Object
implements java.lang.Comparable

UniqueElement represents a unique instance of a logical element in the bag.


Field Summary
protected  long f_nUniqueId
          The unique "id" for this element.
protected  java.lang.Object f_oElem
          The "actual" element.

 

Constructor Summary
SortedBag.UniqueElement(java.lang.Object oElem)
          Create a UniqueElement to represent the specified element.

 

Method Summary
 int compareTo(java.lang.Object o)
          

 

Field Detail

f_nUniqueId

protected final long f_nUniqueId
The unique "id" for this element.

f_oElem

protected final java.lang.Object f_oElem
The "actual" element.

Constructor Detail

SortedBag.UniqueElement

public SortedBag.UniqueElement(java.lang.Object oElem)
Create a UniqueElement to represent the specified element.
Parameters:
oElem - the element

Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.