Package it.unimi.dsi.fastutil.chars
Class AbstractChar2LongMap.BasicEntrySet
java.lang.Object
java.util.AbstractCollection<Char2LongMap.Entry>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<Char2LongMap.Entry>
it.unimi.dsi.fastutil.objects.AbstractObjectSet<Char2LongMap.Entry>
it.unimi.dsi.fastutil.chars.AbstractChar2LongMap.BasicEntrySet
- All Implemented Interfaces:
ObjectCollection<Char2LongMap.Entry>
,ObjectIterable<Char2LongMap.Entry>
,ObjectSet<Char2LongMap.Entry>
,Cloneable
,Iterable<Char2LongMap.Entry>
,Collection<Char2LongMap.Entry>
,Set<Char2LongMap.Entry>
- Enclosing class:
AbstractChar2LongMap
public abstract static class AbstractChar2LongMap.BasicEntrySet
extends AbstractObjectSet<Char2LongMap.Entry>
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
-
BasicEntrySet
-
-
Method Details
-
contains
- Specified by:
contains
in interfaceCollection<Char2LongMap.Entry>
- Specified by:
contains
in interfaceSet<Char2LongMap.Entry>
- Overrides:
contains
in classAbstractCollection<Char2LongMap.Entry>
-
remove
- Specified by:
remove
in interfaceCollection<Char2LongMap.Entry>
- Specified by:
remove
in interfaceSet<Char2LongMap.Entry>
- Overrides:
remove
in classAbstractCollection<Char2LongMap.Entry>
-
size
public int size()- Specified by:
size
in interfaceCollection<Char2LongMap.Entry>
- Specified by:
size
in interfaceSet<Char2LongMap.Entry>
- Specified by:
size
in classAbstractCollection<Char2LongMap.Entry>
-
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.
-