Package com.google.common.collect
Class Maps.FilteredEntryMap.KeySet
java.lang.Object
java.util.AbstractCollection<K>
java.util.AbstractSet<K>
com.google.common.collect.Sets.ImprovedAbstractSet<K>
com.google.common.collect.Maps.KeySet<K,V>
com.google.common.collect.Maps.FilteredEntryMap.KeySet
- All Implemented Interfaces:
Iterable<K>
,Collection<K>
,Set<K>
- Direct Known Subclasses:
Maps.FilteredEntrySortedMap.SortedKeySet
- Enclosing class:
Maps.FilteredEntryMap<K,
V>
-
Field Summary
Fields inherited from class com.google.common.collect.Maps.KeySet
map
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
removeAll
(Collection<?> collection) boolean
retainAll
(Collection<?> collection) Object[]
toArray()
<T> T[]
toArray
(T[] array) Methods inherited from class com.google.common.collect.Maps.KeySet
clear, contains, forEach, isEmpty, iterator, map, size
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
add, addAll, containsAll, spliterator
-
Constructor Details
-
KeySet
KeySet()
-
-
Method Details
-
remove
- Specified by:
remove
in interfaceCollection<K>
- Specified by:
remove
in interfaceSet<K>
- Overrides:
remove
in classMaps.KeySet<K,
V>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<K>
- Specified by:
removeAll
in interfaceSet<K>
- Overrides:
removeAll
in classSets.ImprovedAbstractSet<K>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<K>
- Specified by:
retainAll
in interfaceSet<K>
- Overrides:
retainAll
in classSets.ImprovedAbstractSet<K>
-
toArray
- Specified by:
toArray
in interfaceCollection<K>
- Specified by:
toArray
in interfaceSet<K>
- Overrides:
toArray
in classAbstractCollection<K>
-
toArray
public <T> T[] toArray(T[] array) - Specified by:
toArray
in interfaceCollection<K>
- Specified by:
toArray
in interfaceSet<K>
- Overrides:
toArray
in classAbstractCollection<K>
-