org.hsqldb.map
Class ValuePoolHashMap
- java.lang.Object
-
- org.hsqldb.map.BaseHashMap
-
- org.hsqldb.map.ValuePoolHashMap
-
public class ValuePoolHashMap extends BaseHashMap
Subclass of BaseHashMap for maintaining a pool of objects. Supports a range of java.lang.* objects.- Since:
- 1.7.2
-
-
Field Summary
-
Fields inherited from class org.hsqldb.map.BaseHashMap
ACCESS_MAX, emptyObjectArray
-
-
Constructor Summary
Constructors Constructor and Description ValuePoolHashMap(int initialCapacity, int maxCapacity, int purgePolicy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidresetCapacity(int newCapacity, int newPolicy)In rare circumstances resetCapacity may not succeed, in which case capacity remains unchanged but purge policy is set to newPolicy-
Methods inherited from class org.hsqldb.map.BaseHashMap
capacity, clear, getAccessCountCeiling, incrementAccessCount, isEmpty, setAccessCountFloor, size
-
-
-
-
Constructor Detail
-
ValuePoolHashMap
public ValuePoolHashMap(int initialCapacity, int maxCapacity, int purgePolicy) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
-
Method Detail
-
resetCapacity
public void resetCapacity(int newCapacity, int newPolicy) throws java.lang.IllegalArgumentExceptionIn rare circumstances resetCapacity may not succeed, in which case capacity remains unchanged but purge policy is set to newPolicy- Throws:
java.lang.IllegalArgumentException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG