K
- the key type of content of this MapV
- the value type of content of this Mappublic class ImmutableLinkedHashMap<K,V> extends ImmutableHashMap<K,V>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
ImmutableLinkedHashMap(ImmutableHashMap<K,V> immutableMap) |
ImmutableLinkedHashMap(ImmutableHashMap<K,V> immutableMap,
Immutable copyOrWrap) |
ImmutableLinkedHashMap(ImmutableLinkedHashMap<K,V> immutableMap) |
ImmutableLinkedHashMap(Map<K,V> map) |
ImmutableLinkedHashMap(Map<K,V> map,
Immutable copyOrWrap) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getMap, keySet, toMap
containsKey, containsValue, equals, get, hashCode, isEmpty, isWrap, size, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, getOrDefault, isCopy
public ImmutableLinkedHashMap(Map<K,V> map)
map
- the map to use as the immutable map.public ImmutableLinkedHashMap(Map<K,V> map, Immutable copyOrWrap)
map
- the map to use as the immutable map.copyOrWrap
- COPY stores a safe, internal copy of the collection; WRAP stores a pointer to the original collectionpublic ImmutableLinkedHashMap(ImmutableHashMap<K,V> immutableMap)
immutableMap
- the map to use as the immutable map.public ImmutableLinkedHashMap(ImmutableHashMap<K,V> immutableMap, Immutable copyOrWrap)
immutableMap
- the map to use as the immutable map.copyOrWrap
- COPY stores a safe, internal copy of the collection; WRAP stores a pointer to the original collectionpublic ImmutableLinkedHashMap(ImmutableLinkedHashMap<K,V> immutableMap)
immutableMap
- the set to use as the immutable set.public final String toString()
toString
in class ImmutableHashMap<K,V>
Copyright © 2014–2016 Delft University of Technology. All rights reserved.