Package it.unimi.dsi.fastutil.shorts
Class AbstractShort2ShortMap.BasicEntrySet
java.lang.Object
java.util.AbstractCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectSet<Short2ShortMap.Entry>
it.unimi.dsi.fastutil.shorts.AbstractShort2ShortMap.BasicEntrySet
- All Implemented Interfaces:
ObjectCollection<Short2ShortMap.Entry>,ObjectIterable<Short2ShortMap.Entry>,ObjectSet<Short2ShortMap.Entry>,Cloneable,Iterable<Short2ShortMap.Entry>,Collection<Short2ShortMap.Entry>,Set<Short2ShortMap.Entry>
- Enclosing class:
- AbstractShort2ShortMap
public abstract static class AbstractShort2ShortMap.BasicEntrySet extends AbstractObjectSet<Short2ShortMap.Entry>
This class provides a basic implementation for an Entry set which forwards
some queries to the map.
-
Constructor Summary
Constructors Constructor Description BasicEntrySet(Short2ShortMap map) -
Method Summary
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectSet
equals, hashCode, iteratorMethods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
-
Constructor Details
-
Method Details
-
contains
- Specified by:
containsin interfaceCollection<Short2ShortMap.Entry>- Specified by:
containsin interfaceSet<Short2ShortMap.Entry>- Overrides:
containsin classAbstractCollection<Short2ShortMap.Entry>
-
remove
- Specified by:
removein interfaceCollection<Short2ShortMap.Entry>- Specified by:
removein interfaceSet<Short2ShortMap.Entry>- Overrides:
removein classAbstractCollection<Short2ShortMap.Entry>
-
size
public int size()- Specified by:
sizein interfaceCollection<Short2ShortMap.Entry>- Specified by:
sizein interfaceSet<Short2ShortMap.Entry>- Specified by:
sizein classAbstractCollection<Short2ShortMap.Entry>
-