Class AbstractDoubleEnumerator

java.lang.Object
java.util.Spliterators.AbstractDoubleSpliterator
org.jhotdraw8.collection.enumerator.AbstractDoubleEnumerator
All Implemented Interfaces:
Spliterator<Double>, Spliterator.OfDouble, Spliterator.OfPrimitive<Double,DoubleConsumer,Spliterator.OfDouble>, BareEnumerator<Double>, Enumerator<Double>, Enumerator.OfDouble

public abstract class AbstractDoubleEnumerator extends Spliterators.AbstractDoubleSpliterator implements Enumerator.OfDouble
Abstract base class for Enumerator.OfDoubles.
Author:
Werner Randelshofer
  • Field Details

    • current

      protected double current
      The current element of the enumerator.
  • Constructor Details

    • AbstractDoubleEnumerator

      protected AbstractDoubleEnumerator(long est, int additionalCharacteristics)
      Creates a spliterator reporting the given estimated size and additionalCharacteristics.
      Parameters:
      est - the estimated size of this spliterator if known, otherwise Double.MAX_VALUE.
      additionalCharacteristics - properties of this spliterator's source or elements. If SIZED is reported then this spliterator will additionally report SUBSIZED.
  • Method Details