Package it.unimi.dsi.fastutil.doubles
Class AbstractDouble2IntMap.BasicEntrySet
java.lang.Object
java.util.AbstractCollection<Double2IntMap.Entry>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<Double2IntMap.Entry>
it.unimi.dsi.fastutil.objects.AbstractObjectSet<Double2IntMap.Entry>
it.unimi.dsi.fastutil.doubles.AbstractDouble2IntMap.BasicEntrySet
- All Implemented Interfaces:
ObjectCollection<Double2IntMap.Entry>,ObjectIterable<Double2IntMap.Entry>,ObjectSet<Double2IntMap.Entry>,Cloneable,Iterable<Double2IntMap.Entry>,Collection<Double2IntMap.Entry>,Set<Double2IntMap.Entry>
- Enclosing class:
AbstractDouble2IntMap
public abstract static class AbstractDouble2IntMap.BasicEntrySet
extends AbstractObjectSet<Double2IntMap.Entry>
This class provides a basic implementation for an Entry set which forwards some queries to the
map.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanintsize()Returns a type-specific spliterator on the elements of this set.Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectSet
equals, hashCode, iteratorMethods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectCollection
toStringMethods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArrayMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
BasicEntrySet
-
-
Method Details
-
contains
- Specified by:
containsin interfaceCollection<Double2IntMap.Entry>- Specified by:
containsin interfaceSet<Double2IntMap.Entry>- Overrides:
containsin classAbstractCollection<Double2IntMap.Entry>
-
remove
- Specified by:
removein interfaceCollection<Double2IntMap.Entry>- Specified by:
removein interfaceSet<Double2IntMap.Entry>- Overrides:
removein classAbstractCollection<Double2IntMap.Entry>
-
size
public int size()- Specified by:
sizein interfaceCollection<Double2IntMap.Entry>- Specified by:
sizein interfaceSet<Double2IntMap.Entry>- Specified by:
sizein classAbstractCollection<Double2IntMap.Entry>
-
spliterator
Description copied from interface:ObjectSetReturns 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.
-