Class AbstractChar2ByteMap.BasicEntrySet

java.lang.Object
java.util.AbstractCollection<K>
All Implemented Interfaces:
ObjectCollection<Char2ByteMap.Entry>, ObjectIterable<Char2ByteMap.Entry>, ObjectSet<Char2ByteMap.Entry>, java.lang.Cloneable, java.lang.Iterable<Char2ByteMap.Entry>, java.util.Collection<Char2ByteMap.Entry>, java.util.Set<Char2ByteMap.Entry>
Enclosing class:
AbstractChar2ByteMap

public abstract static class AbstractChar2ByteMap.BasicEntrySet
extends AbstractObjectSet<Char2ByteMap.Entry>
This class provides a basic implementation for an Entry set which forwards some queries to the map.
  • Constructor Summary

    Constructors
    Constructor Description
    BasicEntrySet​(Char2ByteMap map)  
  • Method Summary

    Modifier and Type Method Description
    boolean contains​(java.lang.Object o)  
    boolean remove​(java.lang.Object o)  
    int size()  
    ObjectSpliterator<Char2ByteMap.Entry> spliterator()
    Returns a type-specific spliterator on the elements of this set.

    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 class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach

    Methods inherited from interface java.util.Set

    add, addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
  • Constructor Details

  • Method Details

    • contains

      public boolean contains​(java.lang.Object o)
      Specified by:
      contains in interface java.util.Collection<Char2ByteMap.Entry>
      Specified by:
      contains in interface java.util.Set<Char2ByteMap.Entry>
      Overrides:
      contains in class java.util.AbstractCollection<Char2ByteMap.Entry>
    • remove

      public boolean remove​(java.lang.Object o)
      Specified by:
      remove in interface java.util.Collection<Char2ByteMap.Entry>
      Specified by:
      remove in interface java.util.Set<Char2ByteMap.Entry>
      Overrides:
      remove in class java.util.AbstractCollection<Char2ByteMap.Entry>
    • size

      public int size()
      Specified by:
      size in interface java.util.Collection<Char2ByteMap.Entry>
      Specified by:
      size in interface java.util.Set<Char2ByteMap.Entry>
      Specified by:
      size in class java.util.AbstractCollection<Char2ByteMap.Entry>
    • spliterator

      public ObjectSpliterator<Char2ByteMap.Entry> spliterator()
      Description copied from interface: ObjectSet
      Returns a type-specific spliterator on the elements of this set.

      Set spliterators must report at least Spliterator.DISTINCT.

      See Set.spliterator() for more documentation on the requirements of the returned spliterator.

      Returns:
      a type-specific spliterator on the elements of this collection.