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:
java.lang.Iterable<K>
,java.util.Collection<K>
,java.util.Set<K>
- Direct Known Subclasses:
Maps.FilteredEntrySortedMap.SortedKeySet
- Enclosing class:
- Maps.FilteredEntryMap<K,V>
class Maps.FilteredEntryMap.KeySet extends Maps.KeySet<K,V>
-
-
Field Summary
-
Fields inherited from class com.google.common.collect.Maps.KeySet
map
-
-
Constructor Summary
Constructors Constructor Description KeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> collection)
boolean
retainAll(java.util.Collection<?> collection)
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] array)
-
Methods inherited from class com.google.common.collect.Maps.KeySet
clear, contains, forEach, isEmpty, iterator, map, size
-
-
-
-
Method Detail
-
remove
public boolean remove(@CheckForNull java.lang.Object o)
-
removeAll
public boolean removeAll(java.util.Collection<?> collection)
- Specified by:
removeAll
in interfacejava.util.Collection<K>
- Specified by:
removeAll
in interfacejava.util.Set<K>
- Overrides:
removeAll
in classSets.ImprovedAbstractSet<K>
-
retainAll
public boolean retainAll(java.util.Collection<?> collection)
- Specified by:
retainAll
in interfacejava.util.Collection<K>
- Specified by:
retainAll
in interfacejava.util.Set<K>
- Overrides:
retainAll
in classSets.ImprovedAbstractSet<K>
-
toArray
public java.lang.Object[] toArray()
-
-