PMap but preserves insertion order. Persistent equivalent of LinkedHashMap.
Note that, like LinkedHashMap, insertion order is not affected if a key is re-inserted
into the map.
(Note: this is different from PSortedMap, which keeps elements in the order specified
by java. or java..)
| Modifier and Type | Field and Description |
|---|---|
| private static final OrderedPMap | |
| private final PSortedMap | |
| private final PMap | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <K, V> OrderedPMap | |
| public Set | entrySet()
Implements abstract java. Implements java. Returns a |
| public static <K, V> OrderedPMap | |
| public V | get(final Object
the key whose associated value is to be returned k)Overrides java. Implements java. Returns the value to which the specified key is mapped,
or |
| public OrderedPMap | |
| public OrderedPMap | |
| public OrderedPMap | |
| public OrderedPMap | |
| public static <K, V> OrderedPMap | |
| public int | size()
Overrides java. Implements java. Returns the number of key-value mappings in this map. |
| EMPTY | back to summary |
|---|---|
| private static final OrderedPMap<Object, Object> EMPTY | |
| entries | back to summary |
|---|---|
| private final PSortedMap<Long, Map. | |
| ids | back to summary |
|---|---|
| private final PMap<K, Long> ids | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| OrderedPMap | back to summary |
|---|---|
| private OrderedPMap(final PMap<K, Long> ids, final PSortedMap<Long, Map. | |
| empty | back to summary |
|---|---|
public static <K, V> OrderedPMap
| |
| entrySet | back to summary |
|---|---|
| public Set Implements abstract java. Implements java. Doc from java. Returns a | |
| from | back to summary |
|---|---|
public static <K, V> OrderedPMap
| |
| get | back to summary |
|---|---|
| public V get(final Object k) Overrides java. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| minus | back to summary |
|---|---|
| public OrderedPMap Implements org.
| |
| minusAll | back to summary |
|---|---|
| public OrderedPMap Implements org.
| |
| plus | back to summary |
|---|---|
| public OrderedPMap Implements org.
| |
| plusAll | back to summary |
|---|---|
| public OrderedPMap Implements org.
| |
| singleton | back to summary |
|---|---|
| public static <K, V> OrderedPMap | |
| size | back to summary |
|---|---|
| public int size() Overrides java. Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |