Package com.google.common.collect
Class StandardTable.Column
java.lang.Object
java.util.AbstractMap<R,V>
com.google.common.collect.Maps.ViewCachingAbstractMap<R,V>
com.google.common.collect.StandardTable.Column
- All Implemented Interfaces:
Map<R,
V>
- Enclosing class:
StandardTable<R,
C, V>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
private class
private class
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(Object key) Creates the entry set to be returned byMaps.ViewCachingAbstractMap.entrySet()
.(package private) Collection
<V> (package private) boolean
removeFromColumnIf
(Predicate<? super Map.Entry<R, V>> predicate) Removes allColumn
mappings whose row key and value satisfy the given predicate.Methods inherited from class com.google.common.collect.Maps.ViewCachingAbstractMap
entrySet, keySet, values
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, isEmpty, putAll, size, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
columnKey
-
-
Constructor Details
-
Column
Column(C columnKey)
-
-
Method Details
-
put
-
get
-
containsKey
- Specified by:
containsKey
in interfaceMap<R,
V> - Overrides:
containsKey
in classAbstractMap<R,
V>
-
remove
-
removeFromColumnIf
Removes allColumn
mappings whose row key and value satisfy the given predicate. -
createEntrySet
Description copied from class:Maps.ViewCachingAbstractMap
Creates the entry set to be returned byMaps.ViewCachingAbstractMap.entrySet()
. This method is invoked at most once on a given map, at the time whenentrySet
is first called.- Specified by:
createEntrySet
in classMaps.ViewCachingAbstractMap<R,
V>
-
createKeySet
- Overrides:
createKeySet
in classMaps.ViewCachingAbstractMap<R,
V>
-
createValues
Collection<V> createValues()- Overrides:
createValues
in classMaps.ViewCachingAbstractMap<R,
V>
-