|
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 static interface InvocableMap.EntryProcessor
An invocable agent that operates against the Entry objects within a Map.
| Method Summary | |
|---|---|
Object |
process(InvocableMap.Entry entry)
Process a Map.Entry object. |
Map |
processAll(Set setEntries)
Process a Set of InvocableMap.Entry objects. |
| Method Detail |
|---|
Object process(InvocableMap.Entry entry)
entry - the Entry to process
Map processAll(Set setEntries)
Map mapResults = new ListMap();
for (Iterator iter = setEntries.iterator(); iter.hasNext(); )
{
Entry entry = (Entry) iter.next();
mapResults.put(entry.getKey(), process(entry));
}
return mapResults;
setEntries - a read-only Set of InvocableMap.Entry objects to
process
|
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 | |||||||