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