|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapIndex
MapIndex is used to correlate values stored in an indexed Map (or attributes of those values) to the corresponding keys in the indexed Map.
Method Summary | |
---|---|
Object |
get(Object oKey)
Using the index information if possible, get the value associated with the specified key. |
Map |
getIndexContents()
Get the Map that contains the index contents. |
ValueExtractor |
getValueExtractor()
Obtain the ValueExtractor object that the MapIndex uses to extract an indexable Object from a value stored in the indexed Map. |
boolean |
isOrdered()
Determine if the MapIndex orders the contents of the indexed information. |
Method Detail |
---|
ValueExtractor getValueExtractor()
boolean isOrdered()
Map getIndexContents()
The keys of the Map are the return values from the ValueExtractor operating against the indexed Map's values, and for each key, the corresponding value stored in the Map is a Set of keys to the indexed Map.
If the MapIndex is known to be ordered, then the returned Map object
will be an instance of SortedMap
. The SortedMap may or may
not have a Comparator
object associated with it; see
SortedMap.comparator()
.
A client should assume that the returned Map object is read-only and must not attempt to modify it.
Object get(Object oKey)
oKey
- the key that specifies the object to extract the value
from
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |