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