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