Package it.unimi.dsi.fastutil.shorts
Class AbstractShort2LongMap.BasicEntrySet
java.lang.Object
java.util.AbstractCollection<Short2LongMap.Entry>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<Short2LongMap.Entry>
it.unimi.dsi.fastutil.objects.AbstractObjectSet<Short2LongMap.Entry>
it.unimi.dsi.fastutil.shorts.AbstractShort2LongMap.BasicEntrySet
- All Implemented Interfaces:
ObjectCollection<Short2LongMap.Entry>
,ObjectIterable<Short2LongMap.Entry>
,ObjectSet<Short2LongMap.Entry>
,Cloneable
,Iterable<Short2LongMap.Entry>
,Collection<Short2LongMap.Entry>
,Set<Short2LongMap.Entry>
- Enclosing class:
AbstractShort2LongMap
public abstract static class AbstractShort2LongMap.BasicEntrySet
extends AbstractObjectSet<Short2LongMap.Entry>
This class provides a basic implementation for an Entry set which forwards some queries to the
map.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
size()
Returns a type-specific spliterator on the elements of this set.Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectSet
equals, hashCode, iterator
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectCollection
toString
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
BasicEntrySet
-
-
Method Details
-
contains
- Specified by:
contains
in interfaceCollection<Short2LongMap.Entry>
- Specified by:
contains
in interfaceSet<Short2LongMap.Entry>
- Overrides:
contains
in classAbstractCollection<Short2LongMap.Entry>
-
remove
- Specified by:
remove
in interfaceCollection<Short2LongMap.Entry>
- Specified by:
remove
in interfaceSet<Short2LongMap.Entry>
- Overrides:
remove
in classAbstractCollection<Short2LongMap.Entry>
-
size
public int size()- Specified by:
size
in interfaceCollection<Short2LongMap.Entry>
- Specified by:
size
in interfaceSet<Short2LongMap.Entry>
- Specified by:
size
in classAbstractCollection<Short2LongMap.Entry>
-
spliterator
Description copied from interface:ObjectSet
Returns 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.
-