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