| Modifier and Type | Field and Description |
|---|---|
| pack-priv long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected TimestampData | |
| protected Double | |
| protected Integer | |
| protected Long | |
| protected Object | |
| protected String | Returns: String from map or a new StringString or other Object with compatible equals(String)
and hashCode(). key)This is dissimilar to normal hash map get() methods. |
| protected String |
| hits | back to summary |
|---|---|
| pack-priv long hits | |
| ValuePoolHashMap | back to summary |
|---|---|
| public ValuePoolHashMap(int initialCapacity, int maxCapacity, int purgePolicy) throws IllegalArgumentException | |
| getOrAddDate | back to summary |
|---|---|
| protected TimestampData getOrAddDate(long longKey) | |
| getOrAddDouble | back to summary |
|---|---|
| protected Double getOrAddDouble(long longKey) | |
| getOrAddInteger | back to summary |
|---|---|
| protected Integer getOrAddInteger(int intKey) | |
| getOrAddLong | back to summary |
|---|---|
| protected Long getOrAddLong(long longKey) | |
| getOrAddObject | back to summary |
|---|---|
| protected Object getOrAddObject(Object key) | |
| getOrAddString | back to summary |
|---|---|
| protected String getOrAddString(Object key) This is dissimilar to normal hash map get() methods. The key Object should have an equals(String) method which should return true if the key.toString().equals(String) is true. Also the key.hashCode() method must return the same value as key.toString.hashCode(). The above is always true when the key is a String. But it means it is possible to submit special keys that fulfill the contract. For example a wrapper around a byte[] can be submitted as key to retrieve either a new String, which is the result of the toString() method of the wrapper, or return an existing String which would be equal to the result of toString(). | |
| getOrAddSubString | back to summary |
|---|---|
| protected String getOrAddSubString(String key, int from, int limit) | |