Package it.unimi.dsi.fastutil.chars
Class AbstractChar2CharMap.BasicEntrySet
- java.lang.Object
-
- java.util.AbstractCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectSet<Char2CharMap.Entry>
-
- it.unimi.dsi.fastutil.chars.AbstractChar2CharMap.BasicEntrySet
-
- All Implemented Interfaces:
ObjectCollection<Char2CharMap.Entry>
,ObjectIterable<Char2CharMap.Entry>
,ObjectSet<Char2CharMap.Entry>
,Cloneable
,Iterable<Char2CharMap.Entry>
,Collection<Char2CharMap.Entry>
,Set<Char2CharMap.Entry>
- Enclosing class:
- AbstractChar2CharMap
public abstract static class AbstractChar2CharMap.BasicEntrySet extends AbstractObjectSet<Char2CharMap.Entry>
This class provides a basic implementation for an Entry set which forwards some queries to the map.
-
-
Constructor Summary
Constructors Constructor Description BasicEntrySet(Char2CharMap map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Object o)
boolean
remove(Object o)
int
size()
-
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 Detail
-
BasicEntrySet
public BasicEntrySet(Char2CharMap map)
-
-
Method Detail
-
contains
public boolean contains(Object o)
- Specified by:
contains
in interfaceCollection<Char2CharMap.Entry>
- Specified by:
contains
in interfaceSet<Char2CharMap.Entry>
- Overrides:
contains
in classAbstractCollection<Char2CharMap.Entry>
-
remove
public boolean remove(Object o)
- Specified by:
remove
in interfaceCollection<Char2CharMap.Entry>
- Specified by:
remove
in interfaceSet<Char2CharMap.Entry>
- Overrides:
remove
in classAbstractCollection<Char2CharMap.Entry>
-
size
public int size()
- Specified by:
size
in interfaceCollection<Char2CharMap.Entry>
- Specified by:
size
in interfaceSet<Char2CharMap.Entry>
- Specified by:
size
in classAbstractCollection<Char2CharMap.Entry>
-
-