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