Example usage for Java org.apache.commons.collections.map ReferenceMap fields, constructors, methods, implement or subclass
The text is from its open source code.
ReferenceMap(int keyType, int valueType) Constructs a new ReferenceMap that will use the specified types of references. | |
ReferenceMap() Constructs a new ReferenceMap that will use hard references to keys and soft references to values. | |
ReferenceMap(int keyType, int valueType, int capacity, float loadFactor) Constructs a new ReferenceMap with the specified reference types, load factor and initial capacity. | |
ReferenceMap(int keyType, int valueType, boolean purgeValues) Constructs a new ReferenceMap that will use the specified types of references. | |
ReferenceMap(int keyType, int valueType, int capacity, float loadFactor, boolean purgeValues) Constructs a new ReferenceMap with the specified reference types, load factor and initial capacity. |
boolean | containsKey(Object key) Checks whether the map contains the specified key. |
Object | get(Object key) Gets the value mapped to the key specified. |
Object | put(Object key, Object value) Puts a key-value mapping into this map. |
int | size() Gets the size of the map. |