Class AbstractMutableBiMap.KeySet
- java.lang.Object
-
- org.eclipse.collections.impl.bimap.mutable.AbstractMutableBiMap.KeySet
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<K>,java.util.Collection<K>,java.util.Set<K>
- Enclosing class:
- AbstractMutableBiMap<K,V>
protected class AbstractMutableBiMap.KeySet extends java.lang.Object implements java.util.Set<K>, java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(K key)booleanaddAll(java.util.Collection<? extends K> source)voidclear()booleancontains(java.lang.Object key)booleancontainsAll(java.util.Collection<?> source)booleanequals(java.lang.Object obj)voidforEach(java.util.function.Consumer<? super K> action)inthashCode()booleanisEmpty()java.util.Iterator<K>iterator()booleanremove(java.lang.Object key)booleanremoveAll(java.util.Collection<?> collection)booleanretainAll(java.util.Collection<?> collection)intsize()java.lang.Object[]toArray()<T> T[]toArray(T[] a)java.lang.StringtoString()protected java.lang.ObjectwriteReplace()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
-
hashCode
public int hashCode()
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(java.lang.Object key)
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
add
public boolean add(K key)
-
remove
public boolean remove(java.lang.Object key)
-
containsAll
public boolean containsAll(java.util.Collection<?> source)
-
addAll
public boolean addAll(java.util.Collection<? extends K> source)
-
retainAll
public boolean retainAll(java.util.Collection<?> collection)
-
removeAll
public boolean removeAll(java.util.Collection<?> collection)
-
clear
public void clear()
-
forEach
public void forEach(java.util.function.Consumer<? super K> action)
- Specified by:
forEachin interfacejava.lang.Iterable<K>
-
iterator
public java.util.Iterator<K> iterator()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
writeReplace
protected java.lang.Object writeReplace()
-
-