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