jet
Class DoubleRange
java.lang.Object
jet.DoubleRange
- All Implemented Interfaces:
- Iterable<Double>, Progression<Double>, Range<Double>
public final class DoubleRange
- extends Object
- implements Range<Double>, Progression<Double>
Constructor Summary |
DoubleRange(double start,
double end)
|
EMPTY
public static final DoubleRange EMPTY
DoubleRange
public DoubleRange(double start,
double end)
contains
public boolean contains(Double item)
- Specified by:
contains
in interface Range<Double>
contains
public boolean contains(double item)
getStart
public Double getStart()
- Specified by:
getStart
in interface Progression<Double>
- Specified by:
getStart
in interface Range<Double>
getEnd
public Double getEnd()
- Specified by:
getEnd
in interface Progression<Double>
- Specified by:
getEnd
in interface Range<Double>
getIncrement
public Double getIncrement()
- Specified by:
getIncrement
in interface Progression<Double>
iterator
public DoubleIterator iterator()
- Specified by:
iterator
in interface Iterable<Double>
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2013. All Rights Reserved.