Package com.google.common.collect
Class Maps.FilteredEntryMap.KeySet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
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 TypeMethodDescriptionbooleanbooleanremoveAll(Collection<?> collection) booleanretainAll(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, sizeMethods inherited from class java.util.AbstractSet
equals, hashCodeMethods inherited from class java.util.AbstractCollection
add, addAll, containsAll, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
add, addAll, containsAll, spliterator
-
Constructor Details
-
KeySet
KeySet()
-
-
Method Details
-
remove
- Specified by:
removein interfaceCollection<K>- Specified by:
removein interfaceSet<K>- Overrides:
removein classMaps.KeySet<K,V>
-
removeAll
- Specified by:
removeAllin interfaceCollection<K>- Specified by:
removeAllin interfaceSet<K>- Overrides:
removeAllin classSets.ImprovedAbstractSet<K>
-
retainAll
- Specified by:
retainAllin interfaceCollection<K>- Specified by:
retainAllin interfaceSet<K>- Overrides:
retainAllin classSets.ImprovedAbstractSet<K>
-
toArray
- Specified by:
toArrayin interfaceCollection<K>- Specified by:
toArrayin interfaceSet<K>- Overrides:
toArrayin classAbstractCollection<K>
-
toArray
public <T> T[] toArray(T[] array) - Specified by:
toArrayin interfaceCollection<K>- Specified by:
toArrayin interfaceSet<K>- Overrides:
toArrayin classAbstractCollection<K>
-