K
- The Class of the key for this TreeMapToListV
- The Class of the Value for this TreeMapToListpublic class TreeMapToList<K,V> extends AbstractMapToList<K,V>
Constructor and Description |
---|
TreeMapToList()
Creates a new TreeMapToList.
|
TreeMapToList(java.util.Comparator<? super K> comp)
Creates a new TreeMapToList using the given Comparator as the Comparator
for the underlying TreeSet.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<K> |
getEmptySet()
Creates a new TreeSet for use by AbstractMapToList.
|
addAllLists, addAllToListFor, addToListFor, addToListFor, clear, containsAnyInList, containsInList, containsListFor, equals, getElementInList, getKeySet, getListFor, hashCode, initializeListFor, isEmpty, removeFromListFor, removeListFor, size, sizeOfListFor, toString
public TreeMapToList()
public TreeMapToList(java.util.Comparator<? super K> comp)
comp
- The Comparator to be used as the Comparator for the keys in
this TreeMapToListprotected java.util.Set<K> getEmptySet()
getEmptySet
in class AbstractMapToList<K,V>
AbstractMapToList.getEmptySet()