jet
Class ShortProgression

java.lang.Object
  extended by jet.ShortProgression
All Implemented Interfaces:
Iterable<Short>, Progression<Short>

public class ShortProgression
extends Object
implements Progression<Short>


Constructor Summary
ShortProgression(short start, short end, int increment)
           
 
Method Summary
 boolean equals(Object o)
           
 Short getEnd()
           
 Integer getIncrement()
           
 Short getStart()
           
 int hashCode()
           
 ShortIterator iterator()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShortProgression

public ShortProgression(short start,
                        short end,
                        int increment)
Method Detail

getStart

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

getEnd

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

getIncrement

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

iterator

public ShortIterator iterator()
Specified by:
iterator in interface Iterable<Short>

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.