class ConstantEntryList
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private class |
ConstantEntryList.ConstantEntry |
Modifier and Type | Field and Description |
---|---|
private static java.util.Comparator<ConstantEntryList.ConstantEntry> |
CHRONOLOGICAL |
private IPoolFactory<?> |
factory |
private ConstantEntryList.ConstantEntry |
firstEntry |
private java.util.List<ConstantEntryList.ConstantEntry> |
list |
Constructor and Description |
---|
ConstantEntryList(java.lang.Object firstValue,
long timestamp,
IPoolFactory<?> factory) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
add(java.lang.Object value,
long timestamp) |
(package private) java.lang.Object |
getFirstObjectAfter(long objectIdOfThisEntry,
long timestamp)
Returns the value associated with the smallest timestamp larger than or equals to
timestamp . |
(package private) void |
sort() |
(package private) void |
touchAll(long objectIdOfThisEntry) |
private static final java.util.Comparator<ConstantEntryList.ConstantEntry> CHRONOLOGICAL
private final IPoolFactory<?> factory
private final ConstantEntryList.ConstantEntry firstEntry
private java.util.List<ConstantEntryList.ConstantEntry> list
ConstantEntryList(java.lang.Object firstValue, long timestamp, IPoolFactory<?> factory)
void add(java.lang.Object value, long timestamp)
void sort()
void touchAll(long objectIdOfThisEntry)
java.lang.Object getFirstObjectAfter(long objectIdOfThisEntry, long timestamp)
timestamp
.objectIdOfThisEntry
- The object id of all objects in this entry listtimestamp
-