Package it.unimi.dsi.fastutil.objects
Class AbstractObject2ByteMap.BasicEntrySet<K>
java.lang.Object
java.util.AbstractCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectSet<Object2ByteMap.Entry<K>>
it.unimi.dsi.fastutil.objects.AbstractObject2ByteMap.BasicEntrySet<K>
- All Implemented Interfaces:
ObjectCollection<Object2ByteMap.Entry<K>>
,ObjectIterable<Object2ByteMap.Entry<K>>
,ObjectSet<Object2ByteMap.Entry<K>>
,Cloneable
,Iterable<Object2ByteMap.Entry<K>>
,Collection<Object2ByteMap.Entry<K>>
,Set<Object2ByteMap.Entry<K>>
- Enclosing class:
- AbstractObject2ByteMap<K>
public abstract static class AbstractObject2ByteMap.BasicEntrySet<K> extends AbstractObjectSet<Object2ByteMap.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(Object2ByteMap<K> map)
-
Method Summary
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectSet
equals, hashCode, iterator
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
-
Constructor Details
-
Method Details
-
contains
- Specified by:
contains
in interfaceCollection<K>
- Specified by:
contains
in interfaceSet<K>
- Overrides:
contains
in classAbstractCollection<Object2ByteMap.Entry<K>>
-
remove
- Specified by:
remove
in interfaceCollection<K>
- Specified by:
remove
in interfaceSet<K>
- Overrides:
remove
in classAbstractCollection<Object2ByteMap.Entry<K>>
-
size
public int size()- Specified by:
size
in interfaceCollection<K>
- Specified by:
size
in interfaceSet<K>
- Specified by:
size
in classAbstractCollection<Object2ByteMap.Entry<K>>
-