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