Class DoubleSortedSets.EmptySet

java.lang.Object
java.util.AbstractCollection<Double>
it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
it.unimi.dsi.fastutil.doubles.DoubleCollections.EmptyCollection
it.unimi.dsi.fastutil.doubles.DoubleSets.EmptySet
it.unimi.dsi.fastutil.doubles.DoubleSortedSets.EmptySet
All Implemented Interfaces:
it.unimi.dsi.fastutil.doubles.DoubleBidirectionalIterable, it.unimi.dsi.fastutil.doubles.DoubleCollection, it.unimi.dsi.fastutil.doubles.DoubleIterable, DoubleSet, DoubleSortedSet, Serializable, Cloneable, Iterable<Double>, Collection<Double>, SequencedCollection<Double>, SequencedSet<Double>, Set<Double>, SortedSet<Double>
Enclosing class:
DoubleSortedSets

public static class DoubleSortedSets.EmptySet extends DoubleSets.EmptySet implements DoubleSortedSet, Serializable, Cloneable
An immutable class representing the empty sorted set and implementing a type-specific set interface.

This class may be useful to implement your own in case you subclass a type-specific sorted set.

See Also:
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    it.unimi.dsi.fastutil.doubles.DoubleComparator
    Deprecated.
    Please use the corresponding type-specific method instead.
    double
    Returns the first (lowest) element currently in this set.
    headSet(double from)
    Returns a view of the portion of this sorted set whose elements are strictly less than toElement.
    Deprecated.
    Please use the corresponding type-specific method instead.
    it.unimi.dsi.fastutil.doubles.DoubleBidirectionalIterator
    iterator(double from)
    Returns a type-specific BidirectionalIterator on the elements in this set, starting from a given element of the domain (optional operation).
    Deprecated.
    Please use the corresponding type-specific method instead.
    double
    Returns the last (highest) element currently in this set.
    subSet(double from, double to)
    Returns a view of the portion of this sorted set whose elements range from fromElement, inclusive, to toElement, exclusive.
    subSet(Double from, Double to)
    Deprecated.
    Please use the corresponding type-specific method instead.
    tailSet(double to)
    Returns a view of the portion of this sorted set whose elements are greater than or equal to fromElement.
    Deprecated.
    Please use the corresponding type-specific method instead.

    Methods inherited from class it.unimi.dsi.fastutil.doubles.DoubleSets.EmptySet

    equals, rem, remove

    Methods inherited from class it.unimi.dsi.fastutil.doubles.DoubleCollections.EmptyCollection

    addAll, addAll, clear, contains, containsAll, containsAll, forEach, forEach, hashCode, iterator, removeAll, removeAll, removeIf, removeIf, retainAll, retainAll, size, spliterator, toArray, toArray, toDoubleArray, toDoubleArray

    Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection

    add, add, contains, forEach, remove, removeIf, toArray, toString

    Methods inherited from class java.util.AbstractCollection

    isEmpty

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface java.util.Collection

    toArray

    Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection

    add, addAll, contains, containsAll, doubleIterator, doubleParallelStream, doubleSpliterator, doubleStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toDoubleArray, toDoubleArray

    Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleIterable

    forEach, forEach, forEach

    Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleSet

    add, contains, rem, remove, remove

    Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleSortedSet

    iterator, spliterator

    Methods inherited from interface java.util.Set

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

    Methods inherited from interface java.util.SortedSet

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

    • EmptySet

      protected EmptySet()
  • Method Details