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