Interface EntryMap

All Superinterfaces:
EntryBuilder, Map
All Known Implementing Classes:
DeferredEntryMap, EntryMap.Impl

public interface EntryMap
extends Map, EntryBuilder

A map that stores entries as values. It is useful for storing a small set of entries ; for a large set of entries, consider a DeferredEntryMap.

Each value in this map is a Map.Entry.

Philippe Poulard
See Also:
Map.Entry, DeferredEntryMap

Nested Class Summary
static class EntryMap.Impl
          A default implementation of an entry map.
Nested classes/interfaces inherited from interface java.util.Map
Method Summary
 Object put(Map.Entry entry)
          Store an entry as is in this map.
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
Methods inherited from interface org.inria.ns.reflex.util.EntryBuilder

Method Detail


Object put(Map.Entry entry)
Store an entry as is in this map.

The entry stored should be of the type expected (the same than those built by the entry builder).

entry - The entry to store.
The previous entry.
See Also:
EntryBuilder.newEntry(Object, Object)