jet
Class FloatRange

java.lang.Object
  extended by jet.FloatRange
All Implemented Interfaces:
Iterable<Float>, Progression<Float>, Range<Float>

public final class FloatRange
extends Object
implements Range<Float>, Progression<Float>


Field Summary
static FloatRange EMPTY
           
 
Constructor Summary
FloatRange(float start, float end)
           
 
Method Summary
 boolean contains(float item)
           
 boolean contains(Float item)
           
 boolean equals(Object o)
           
 Float getEnd()
           
 Float getIncrement()
           
 Float getStart()
           
 int hashCode()
           
 FloatIterator iterator()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY

public static final FloatRange EMPTY
Constructor Detail

FloatRange

public FloatRange(float start,
                  float end)
Method Detail

contains

public boolean contains(Float item)
Specified by:
contains in interface Range<Float>

contains

public boolean contains(float item)

getStart

public Float getStart()
Specified by:
getStart in interface Progression<Float>
Specified by:
getStart in interface Range<Float>

getEnd

public Float getEnd()
Specified by:
getEnd in interface Progression<Float>
Specified by:
getEnd in interface Range<Float>

getIncrement

public Float getIncrement()
Specified by:
getIncrement in interface Progression<Float>

iterator

public FloatIterator iterator()
Specified by:
iterator in interface Iterable<Float>

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.