V
- I
- public class SortedValueMap<V extends java.lang.Comparable<V>,I> extends DefaultValueMap<V,I>
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOGGER
logger definition
|
Constructor and Description |
---|
SortedValueMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
java.util.Collection<I> |
greaterThan(V value) |
long |
greaterThanSize(V value) |
protected java.util.Collection<I> |
instantiateCoreCollection(V forValue)
override to change the underlying collection currently HashSet
|
protected java.util.Map<V,java.util.Collection<I>> |
instantiateCoreMap()
overridden to create a sortable set to track the sorted keys, but we still
use the same core map
|
java.util.Collection<I> |
lessThan(V value) |
long |
lessThanSize(V value) |
add, all, allSize, clear, equalTo, equalToSize, getCoreMap, getLock, instantiateReturnSet, not, notSize, recycleCollection, remove
protected java.util.Map<V,java.util.Collection<I>> instantiateCoreMap()
instantiateCoreMap
in class DefaultValueMap<V extends java.lang.Comparable<V>,I>
DefaultValueMap.instantiateCoreMap()
protected java.util.Collection<I> instantiateCoreCollection(V forValue)
DefaultValueMap
instantiateCoreCollection
in class DefaultValueMap<V extends java.lang.Comparable<V>,I>
public void clear()
public java.util.Collection<I> greaterThan(V value)
greaterThan
in interface IValueMap<V extends java.lang.Comparable<V>,I>
greaterThan
in class DefaultValueMap<V extends java.lang.Comparable<V>,I>
public long greaterThanSize(V value)
greaterThanSize
in interface IValueMap<V extends java.lang.Comparable<V>,I>
greaterThanSize
in class DefaultValueMap<V extends java.lang.Comparable<V>,I>
public long lessThanSize(V value)
lessThanSize
in interface IValueMap<V extends java.lang.Comparable<V>,I>
lessThanSize
in class DefaultValueMap<V extends java.lang.Comparable<V>,I>