| java.util.HashMap soot.util.DeterministicHashMap
DeterministicHashMap | public class DeterministicHashMap extends HashMap (Code) | | Implementation of HashMap which guarantees a stable
(between executions) order for its elements upon iteration.
This is quite useful for maps of Locals, to avoid nondeterministic
local-name drift.
|
Constructor Summary | |
public | DeterministicHashMap(int initialCapacity) Constructs a DeterministicHashMap with the given initial capacity. | public | DeterministicHashMap(int initialCapacity, float loadFactor) Constructs a DeterministicHashMap with the given initial capacity and load factor. |
Method Summary | |
public Collection | entries() Returns a backed list of entries for this HashMap (unsupported). | public Set<Object> | keySet() Returns a backed list of keys for this HashMap (unsupported). | public Object | put(Object key, Object value) Inserts a mapping in this HashMap from key to value . | public Object | remove(Object obj) Removes the given object from this HashMap (unsupported). |
DeterministicHashMap | public DeterministicHashMap(int initialCapacity)(Code) | | Constructs a DeterministicHashMap with the given initial capacity.
|
DeterministicHashMap | public DeterministicHashMap(int initialCapacity, float loadFactor)(Code) | | Constructs a DeterministicHashMap with the given initial capacity and load factor.
|
entries | public Collection entries()(Code) | | Returns a backed list of entries for this HashMap (unsupported).
|
keySet | public Set<Object> keySet()(Code) | | Returns a backed list of keys for this HashMap (unsupported).
|
remove | public Object remove(Object obj)(Code) | | Removes the given object from this HashMap (unsupported).
|
|
|