K
- public static class AlignmentTools.IdentityMap<K>
extends java.util.AbstractMap<K,K>
The class is a bit inconsistent when representing its contents. On the one hand, containsKey(key) is true for all objects. However, attempting to iterate through the values returns an empty set.
Constructor | Description |
---|---|
IdentityMap() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(java.lang.Object key) |
|
java.util.Set<java.util.Map.Entry<K,K>> |
entrySet() |
Always returns the empty set
|
K |
get(java.lang.Object key) |
clear, clone, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values