K
- V
- public class FileTreeMapKeySet<K,V> extends AbstractSet<K> implements NavigableSet<K>
Constructor and Description |
---|
FileTreeMapKeySet(FileTreeMap<K,V> fileTreeMap) |
Modifier and Type | Method and Description |
---|---|
K |
ceiling(K key) |
void |
clear() |
Comparator<? super K> |
comparator() |
boolean |
contains(Object object) |
Iterator<K> |
descendingIterator() |
NavigableSet<K> |
descendingSet() |
K |
first() |
K |
floor(K key) |
SortedSet<K> |
headSet(K toKey) |
NavigableSet<K> |
headSet(K toKey,
boolean inclusive) |
K |
higher(K key) |
Iterator<K> |
iterator() |
K |
last() |
K |
lower(K key) |
K |
pollFirst() |
K |
pollLast() |
boolean |
remove(Object object) |
int |
size() |
NavigableSet<K> |
subSet(K fromKey,
boolean fromInclusive,
K toKey,
boolean toInclusive) |
SortedSet<K> |
subSet(K fromKey,
K toKey) |
SortedSet<K> |
tailSet(K fromKey) |
NavigableSet<K> |
tailSet(K fromKey,
boolean inclusive) |
equals, hashCode, removeAll
add, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
public FileTreeMapKeySet(FileTreeMap<K,V> fileTreeMap)
public Comparator<? super K> comparator()
comparator
in interface SortedSet<K>
public K lower(K key)
lower
in interface NavigableSet<K>
public K floor(K key)
floor
in interface NavigableSet<K>
public K ceiling(K key)
ceiling
in interface NavigableSet<K>
public K higher(K key)
higher
in interface NavigableSet<K>
public K pollFirst()
pollFirst
in interface NavigableSet<K>
public K pollLast()
pollLast
in interface NavigableSet<K>
public NavigableSet<K> descendingSet()
descendingSet
in interface NavigableSet<K>
public Iterator<K> descendingIterator()
descendingIterator
in interface NavigableSet<K>
public NavigableSet<K> subSet(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)
subSet
in interface NavigableSet<K>
public NavigableSet<K> headSet(K toKey, boolean inclusive)
headSet
in interface NavigableSet<K>
public NavigableSet<K> tailSet(K fromKey, boolean inclusive)
tailSet
in interface NavigableSet<K>
public Iterator<K> iterator()
iterator
in interface Iterable<K>
iterator
in interface Collection<K>
iterator
in interface NavigableSet<K>
iterator
in interface Set<K>
iterator
in class AbstractCollection<K>
public int size()
size
in interface Collection<K>
size
in interface Set<K>
size
in class AbstractCollection<K>
public boolean contains(Object object)
contains
in interface Collection<K>
contains
in interface Set<K>
contains
in class AbstractCollection<K>
public boolean remove(Object object)
remove
in interface Collection<K>
remove
in interface Set<K>
remove
in class AbstractCollection<K>
public void clear()
clear
in interface Collection<K>
clear
in interface Set<K>
clear
in class AbstractCollection<K>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.