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