Table interface.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private transient Set | |
| private transient Collection |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract Iterator | |
| public Set | cellSet()
Implements com. |
| pack-priv abstract Spliterator | |
| public void | |
| public Set | columnKeySet()
Implements com. |
| public boolean | contains(Object
key of row to search for rowKey, Object key of column to search for columnKey)Implements com. true if the table contains a mapping with the specified row and column keys.
|
| public boolean | containsColumn(Object
key of column to search for columnKey)Implements com. true if the table contains a mapping with the specified column.
|
| public boolean | containsRow(Object
key of row to search for rowKey)Implements com. true if the table contains a mapping with the specified row key.
|
| public boolean | containsValue(Object
value to search for value)Implements com. true if the table contains a mapping with the specified value.
|
| pack-priv Set | |
| pack-priv Collection | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Implements com. |
| public V | get(Object
key of row to search for rowKey, Object key of column to search for columnKey)Implements com. null if no such
mapping exists.
|
| public int | hashCode()
Overrides java. Implements com. |
| public boolean | isEmpty()
Implements com. true if the table contains no mappings.
|
| public V | put(R
row key that the value should be associated with rowKey, C column key that the value should be associated with columnKey, V value to be associated with the specified keys value)Implements com. |
| public void | putAll(Table<? extends R, ? extends C, ? extends V>
the table to add to this table table)Implements com. |
| public V | remove(Object
row key of mapping to be removed rowKey, Object column key of mapping to be removed columnKey)Implements com. |
| public Set | rowKeySet()
Implements com. |
| public String | toString()
Overrides java. rowMap().toString().
|
| public Collection | values()
Implements com. |
| pack-priv Iterator | |
| pack-priv Spliterator |
| cellSet | back to summary |
|---|---|
| private transient Set<Table. | |
| values | back to summary |
|---|---|
| private transient Collection<V> values
| |
| AbstractTable | back to summary |
|---|---|
| pack-priv AbstractTable() | |
| cellIterator | back to summary |
|---|---|
| pack-priv abstract Iterator | |
| cellSet | back to summary |
|---|---|
| public Set Implements com. Doc from com. Returns a set of all row key / column key / value triplets. Changes to the returned set will
update the underlying table, and vice versa. The cell set does not support the | |
| cellSpliterator | back to summary |
|---|---|
| pack-priv abstract Spliterator | |
| clear | back to summary |
|---|---|
| public void clear() Implements com. Doc from com. Removes all mappings from the table.
| |
| columnKeySet | back to summary |
|---|---|
| public Set Implements com. Doc from com. Returns a set of column keys that have one or more values in the table. Changes to the set will update the underlying table, and vice versa. | |
| contains | back to summary |
|---|---|
| public boolean contains(Object rowKey, Object columnKey) Implements com. Doc from com. Returns | |
| containsColumn | back to summary |
|---|---|
| public boolean containsColumn(Object columnKey) Implements com. Doc from com. Returns | |
| containsRow | back to summary |
|---|---|
| public boolean containsRow(Object rowKey) Implements com. Doc from com. Returns | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) Implements com. Doc from com. Returns | |
| createCellSet | back to summary |
|---|---|
| pack-priv Set | |
| createValues | back to summary |
|---|---|
| pack-priv Collection | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Implements com. Doc from com. Compares the specified object with this table for equality. Two tables are equal when their
cell views, as returned by
| |
| get | back to summary |
|---|---|
| public V get(Object rowKey, Object columnKey) Implements com. Doc from com. Returns the value corresponding to the given row and column keys, or
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements com. Doc from com. Returns the hash code for this table. The hash code of a table is defined as the hash code of
its cell view, as returned by
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements com. Doc from com. Returns
| |
| put | back to summary |
|---|---|
| public V put(R rowKey, C columnKey, V value) Implements com. Doc from com. Associates the specified value with the specified keys. If the table already contained a mapping for those keys, the old value is replaced with the specified value.
| |
| putAll | back to summary |
|---|---|
| public void putAll(Table<? extends R, ? extends C, ? extends V> table) Implements com. Doc from com. Copies all mappings from the specified table to this table. The effect is equivalent to calling
| |
| remove | back to summary |
|---|---|
| public V remove(Object rowKey, Object columnKey) Implements com. Doc from com. Removes the mapping, if any, associated with the given keys.
| |
| rowKeySet | back to summary |
|---|---|
| public Set Implements com. Doc from com. Returns a set of row keys that have one or more values in the table. Changes to the set will update the underlying table, and vice versa. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the string representation
| |
| values | back to summary |
|---|---|
| public Collection Implements com. Doc from com. Returns a collection of all values, which may contain duplicates. Changes to the returned collection will update the underlying table, and vice versa.
| |
| valuesIterator | back to summary |
|---|---|
| pack-priv Iterator | |
| valuesSpliterator | back to summary |
|---|---|
| pack-priv Spliterator | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides java. Implements java. |
| public boolean | contains(Object
element whose presence in this set is to be tested o)Overrides java. Implements java. true if this set contains the specified element.
|
| public Iterator | iterator()
Implements abstract java. Implements java. |
| public boolean | remove(Object
object to be removed from this set, if present o)Overrides java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| public Spliterator | spliterator()
Overrides default java. Spliterator over the elements in this set.
|
| CellSet | back to summary |
|---|---|
| pack-priv CellSet() | |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Removes all of the elements from this set (optional operation). The set will be empty after this call returns.
| |
| contains | back to summary |
|---|---|
| public boolean contains(Object o) Overrides java. Implements java. Doc from java. Returns | |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee). | |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Overrides java. Implements java. Doc from java. Removes the specified element from this set if it is present
(optional operation). More formally, removes an element | |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this set (its cardinality). If this
set contains more than
| |
| spliterator | back to summary |
|---|---|
| public Spliterator Overrides default java. Doc from java. Creates a The
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides java. Implements java. |
| public boolean | contains(Object
element whose presence in this collection is to be tested o)Overrides java. Implements java. true if this collection contains the specified element.
|
| public Iterator | iterator()
Implements abstract java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| public Spliterator | spliterator()
Overrides default java. Spliterator over the elements in this collection.
|
| Values | back to summary |
|---|---|
| pack-priv Values() | |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Removes all of the elements from this collection (optional operation). The collection will be empty after this method returns.
| |
| contains | back to summary |
|---|---|
| public boolean contains(Object o) Overrides java. Implements java. Doc from java. Returns
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements contained in this collection. | |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this collection. If this collection
contains more than
| |
| spliterator | back to summary |
|---|---|
| public Spliterator Overrides default java. Doc from java. Creates a The default implementation should be overridden by subclasses that
can return a more efficient spliterator. In order to
preserve expected laziness behavior for the
These requirements ensure that streams produced by the
| |