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