Class ImmutableTreeMap.ImmutableSortedMapKeySet
java.lang.Object
java.util.AbstractCollection<K>
java.util.AbstractSet<K>
org.eclipse.collections.impl.map.sorted.immutable.ImmutableTreeMap.ImmutableSortedMapKeySet
- All Implemented Interfaces:
Serializable
,Iterable<K>
,Collection<K>
,Set<K>
- Enclosing class:
ImmutableTreeMap<K,
V>
protected class ImmutableTreeMap.ImmutableSortedMapKeySet
extends AbstractSet<K>
implements Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends K> collection) void
clear()
boolean
boolean
containsAll
(Collection<?> collection) iterator()
boolean
boolean
removeAll
(Collection<?> collection) boolean
retainAll
(Collection<?> collection) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] a) protected Object
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
isEmpty, 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
isEmpty, spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ImmutableSortedMapKeySet
protected ImmutableSortedMapKeySet()
-
-
Method Details
-
contains
- Specified by:
contains
in interfaceCollection<K>
- Specified by:
contains
in interfaceSet<K>
- Overrides:
contains
in classAbstractCollection<K>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<K>
- Specified by:
containsAll
in interfaceSet<K>
- Overrides:
containsAll
in classAbstractCollection<K>
-
size
public int size()- Specified by:
size
in interfaceCollection<K>
- Specified by:
size
in interfaceSet<K>
- Specified by:
size
in classAbstractCollection<K>
-
iterator
-
toArray
- Specified by:
toArray
in interfaceCollection<K>
- Specified by:
toArray
in interfaceSet<K>
- Overrides:
toArray
in classAbstractCollection<K>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArray
in interfaceCollection<K>
- Specified by:
toArray
in interfaceSet<K>
- Overrides:
toArray
in classAbstractCollection<K>
-
add
- Specified by:
add
in interfaceCollection<K>
- Specified by:
add
in interfaceSet<K>
- Overrides:
add
in classAbstractCollection<K>
-
addAll
- Specified by:
addAll
in interfaceCollection<K>
- Specified by:
addAll
in interfaceSet<K>
- Overrides:
addAll
in classAbstractCollection<K>
-
remove
- Specified by:
remove
in interfaceCollection<K>
- Specified by:
remove
in interfaceSet<K>
- Overrides:
remove
in classAbstractCollection<K>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<K>
- Specified by:
removeAll
in interfaceSet<K>
- Overrides:
removeAll
in classAbstractSet<K>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<K>
- Specified by:
clear
in interfaceSet<K>
- Overrides:
clear
in classAbstractCollection<K>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<K>
- Specified by:
retainAll
in interfaceSet<K>
- Overrides:
retainAll
in classAbstractCollection<K>
-
writeReplace
-