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