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