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