Class AbstractLong2ObjectMap.BasicEntrySet<V>
java.lang.Object
java.util.AbstractCollection<Long2ObjectMap.Entry<V>>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<Long2ObjectMap.Entry<V>>
it.unimi.dsi.fastutil.objects.AbstractObjectSet<Long2ObjectMap.Entry<V>>
it.unimi.dsi.fastutil.longs.AbstractLong2ObjectMap.BasicEntrySet<V>
- All Implemented Interfaces:
ObjectCollection<Long2ObjectMap.Entry<V>>, ObjectIterable<Long2ObjectMap.Entry<V>>, ObjectSet<Long2ObjectMap.Entry<V>>, Cloneable, Iterable<Long2ObjectMap.Entry<V>>, Collection<Long2ObjectMap.Entry<V>>, Set<Long2ObjectMap.Entry<V>>
- Enclosing class:
AbstractLong2ObjectMap<V>
public abstract static class AbstractLong2ObjectMap.BasicEntrySet<V>
extends AbstractObjectSet<Long2ObjectMap.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 collection.Methods inherited from class AbstractObjectSet
equals, hashCode, iteratorMethods inherited from class AbstractObjectCollection
toStringMethods inherited from class AbstractCollection
add, addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArrayMethods inherited from interface Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
BasicEntrySet
-
-
Method Details
-
contains
- Specified by:
containsin interfaceCollection<V>- Specified by:
containsin interfaceSet<V>- Overrides:
containsin classAbstractCollection<Long2ObjectMap.Entry<V>>
-
remove
- Specified by:
removein interfaceCollection<V>- Specified by:
removein interfaceSet<V>- Overrides:
removein classAbstractCollection<Long2ObjectMap.Entry<V>>
-
size
public int size()- Specified by:
sizein interfaceCollection<V>- Specified by:
sizein interfaceSet<V>- Specified by:
sizein classAbstractCollection<Long2ObjectMap.Entry<V>>
-
spliterator
Description copied from interface:ObjectCollectionReturns a type-specific spliterator on the elements of this collection.See
Collection.spliterator()for more documentation on the requirements of the returned spliterator.- Returns:
- a type-specific spliterator on the elements of this collection.
-