@InterfaceAudience.Private public class CellSet extends Object implements NavigableSet<Cell>
Set of Cells, where an add will overwrite the entry if already exists
in the set. The call to add returns true if no value in the backing map or false if there was an
entry with same key (though value may be different). implementation is tolerant of concurrent get
and set and won't throw ConcurrentModificationException when iterating.| Modifier and Type | Field and Description |
|---|---|
static int |
UNKNOWN_NUM_UNIQUES |
| Constructor and Description |
|---|
CellSet(CellComparator c) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitspliteratorparallelStream, removeIf, streampublic static final int UNKNOWN_NUM_UNIQUES
public CellSet(CellComparator c)
public Cell ceiling(Cell e)
ceiling in interface NavigableSet<Cell>public Iterator<Cell> descendingIterator()
descendingIterator in interface NavigableSet<Cell>public NavigableSet<Cell> descendingSet()
descendingSet in interface NavigableSet<Cell>public Cell floor(Cell e)
floor in interface NavigableSet<Cell>public NavigableSet<Cell> headSet(Cell toElement, boolean inclusive)
headSet in interface NavigableSet<Cell>public Cell higher(Cell e)
higher in interface NavigableSet<Cell>public Cell lower(Cell e)
lower in interface NavigableSet<Cell>public Cell pollFirst()
pollFirst in interface NavigableSet<Cell>public Cell pollLast()
pollLast in interface NavigableSet<Cell>public NavigableSet<Cell> subSet(Cell fromElement, boolean fromInclusive, Cell toElement, boolean toInclusive)
subSet in interface NavigableSet<Cell>public NavigableSet<Cell> tailSet(Cell fromElement, boolean inclusive)
tailSet in interface NavigableSet<Cell>public Comparator<? super Cell> comparator()
comparator in interface SortedSet<Cell>public boolean add(Cell e)
public boolean addAll(Collection<? extends Cell> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<Cell>containsAll in interface Set<Cell>public boolean isEmpty()
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
public int getNumUniqueKeys()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.