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