Class AbstractLong2IntSortedMap.KeySet

java.lang.Object
java.util.AbstractCollection<Long>
it.unimi.dsi.fastutil.longs.AbstractLongCollection
it.unimi.dsi.fastutil.longs.AbstractLongSet
it.unimi.dsi.fastutil.longs.AbstractLongSortedSet
it.unimi.dsi.fastutil.longs.AbstractLong2IntSortedMap.KeySet
All Implemented Interfaces:
it.unimi.dsi.fastutil.longs.LongBidirectionalIterable, it.unimi.dsi.fastutil.longs.LongCollection, it.unimi.dsi.fastutil.longs.LongIterable, it.unimi.dsi.fastutil.longs.LongSet, it.unimi.dsi.fastutil.longs.LongSortedSet, Cloneable, Iterable<Long>, Collection<Long>, SequencedCollection<Long>, SequencedSet<Long>, Set<Long>, SortedSet<Long>
Enclosing class:
AbstractLong2IntSortedMap

protected class AbstractLong2IntSortedMap.KeySet extends it.unimi.dsi.fastutil.longs.AbstractLongSortedSet
A wrapper exhibiting the keys of a map.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    it.unimi.dsi.fastutil.longs.LongComparator
     
    boolean
    contains(long k)
     
    long
     
    it.unimi.dsi.fastutil.longs.LongSortedSet
    headSet(long to)
     
    it.unimi.dsi.fastutil.longs.LongBidirectionalIterator
     
    it.unimi.dsi.fastutil.longs.LongBidirectionalIterator
    iterator(long from)
     
    long
     
    int
     
    it.unimi.dsi.fastutil.longs.LongSortedSet
    subSet(long from, long to)
     
    it.unimi.dsi.fastutil.longs.LongSortedSet
    tailSet(long from)
     

    Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongSet

    equals, hashCode, rem, remove

    Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection

    add, add, addAll, addAll, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toArray, toLongArray, toLongArray, toString

    Methods inherited from class java.util.AbstractCollection

    isEmpty, toArray, toArray

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    toArray

    Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection

    add, addAll, containsAll, longIterator, longParallelStream, longSpliterator, longStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toLongArray, toLongArray

    Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable

    forEach, forEach, forEach

    Methods inherited from interface it.unimi.dsi.fastutil.longs.LongSet

    add, contains, rem, remove, remove

    Methods inherited from interface it.unimi.dsi.fastutil.longs.LongSortedSet

    first, headSet, last, spliterator, subSet, tailSet

    Methods inherited from interface java.util.Set

    add, addAll, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray

    Methods inherited from interface java.util.SortedSet

    addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
  • Constructor Details

    • KeySet

      protected KeySet()
  • Method Details

    • contains

      public boolean contains(long k)
      Specified by:
      contains in interface it.unimi.dsi.fastutil.longs.LongCollection
      Overrides:
      contains in class it.unimi.dsi.fastutil.longs.AbstractLongCollection
    • size

      public int size()
      Specified by:
      size in interface Collection<Long>
      Specified by:
      size in interface Set<Long>
      Specified by:
      size in class AbstractCollection<Long>
    • clear

      public void clear()
      Specified by:
      clear in interface Collection<Long>
      Specified by:
      clear in interface Set<Long>
      Overrides:
      clear in class AbstractCollection<Long>
    • comparator

      public it.unimi.dsi.fastutil.longs.LongComparator comparator()
    • firstLong

      public long firstLong()
    • lastLong

      public long lastLong()
    • headSet

      public it.unimi.dsi.fastutil.longs.LongSortedSet headSet(long to)
    • tailSet

      public it.unimi.dsi.fastutil.longs.LongSortedSet tailSet(long from)
    • subSet

      public it.unimi.dsi.fastutil.longs.LongSortedSet subSet(long from, long to)
    • iterator

      public it.unimi.dsi.fastutil.longs.LongBidirectionalIterator iterator(long from)
    • iterator

      public it.unimi.dsi.fastutil.longs.LongBidirectionalIterator iterator()
      Specified by:
      iterator in interface Collection<Long>
      Specified by:
      iterator in interface Iterable<Long>
      Specified by:
      iterator in interface it.unimi.dsi.fastutil.longs.LongBidirectionalIterable
      Specified by:
      iterator in interface it.unimi.dsi.fastutil.longs.LongCollection
      Specified by:
      iterator in interface it.unimi.dsi.fastutil.longs.LongIterable
      Specified by:
      iterator in interface it.unimi.dsi.fastutil.longs.LongSet
      Specified by:
      iterator in interface it.unimi.dsi.fastutil.longs.LongSortedSet
      Specified by:
      iterator in interface Set<Long>
      Specified by:
      iterator in class it.unimi.dsi.fastutil.longs.AbstractLongSortedSet