Java org.apache.commons.collections.map ReferenceMap fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections.map ReferenceMap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections.map ReferenceMap.

The text is from its open source code.

Subclass

org.apache.commons.collections.map.ReferenceMap has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

booleancontainsKey(Object key)
Checks whether the map contains the specified key.
Objectget(Object key)
Gets the value mapped to the key specified.
Objectput(Object key, Object value)
Puts a key-value mapping into this map.
intsize()
Gets the size of the map.