Class DateMap<T>
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Long,T>
,NavigableMap<Long,T>
,SortedMap<Long,T>
Basic TreeMap that uses Epoch MS as keys.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
countBetween(long after, long before)
boolean
hasValuesBetween(long after, long before)
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Constructor Details
-
DateMap
public DateMap() -
DateMap
-
-
Method Details
-
hasValuesBetween
public boolean hasValuesBetween(long after, long before) -
countBetween
public int countBetween(long after, long before)
-