Package it.unimi.dsi.fastutil.chars
Class AbstractChar2ReferenceMap.BasicEntrySet<V>
java.lang.Object
java.util.AbstractCollection<Char2ReferenceMap.Entry<V>>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<Char2ReferenceMap.Entry<V>>
it.unimi.dsi.fastutil.objects.AbstractObjectSet<Char2ReferenceMap.Entry<V>>
it.unimi.dsi.fastutil.chars.AbstractChar2ReferenceMap.BasicEntrySet<V>
- All Implemented Interfaces:
ObjectCollection<Char2ReferenceMap.Entry<V>>
,ObjectIterable<Char2ReferenceMap.Entry<V>>
,ObjectSet<Char2ReferenceMap.Entry<V>>
,Cloneable
,Iterable<Char2ReferenceMap.Entry<V>>
,Collection<Char2ReferenceMap.Entry<V>>
,Set<Char2ReferenceMap.Entry<V>>
- Enclosing class:
AbstractChar2ReferenceMap<V>
public abstract static class AbstractChar2ReferenceMap.BasicEntrySet<V>
extends AbstractObjectSet<Char2ReferenceMap.Entry<V>>
This class provides a basic implementation for an Entry set which forwards some queries to the
map.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
size()
Returns a type-specific spliterator on the elements of this set.Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectSet
equals, hashCode, iterator
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectCollection
toString
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
Method Details
-
contains
- Specified by:
contains
in interfaceCollection<V>
- Specified by:
contains
in interfaceSet<V>
- Overrides:
contains
in classAbstractCollection<Char2ReferenceMap.Entry<V>>
-
remove
- Specified by:
remove
in interfaceCollection<V>
- Specified by:
remove
in interfaceSet<V>
- Overrides:
remove
in classAbstractCollection<Char2ReferenceMap.Entry<V>>
-
size
public int size()- Specified by:
size
in interfaceCollection<V>
- Specified by:
size
in interfaceSet<V>
- Specified by:
size
in classAbstractCollection<Char2ReferenceMap.Entry<V>>
-
spliterator
Description copied from interface:ObjectSet
Returns a type-specific spliterator on the elements of this set.Set spliterators must report at least
Spliterator.DISTINCT
.See
Set.spliterator()
for more documentation on the requirements of the returned spliterator.- Returns:
- a type-specific spliterator on the elements of this collection.
-