jet
Class IntProgression

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

public class IntProgression
extends Object
implements Progression<Integer>


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

Constructor Detail

IntProgression

public IntProgression(int start,
                      int end,
                      int increment)
Method Detail

getStart

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

getEnd

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

getIncrement

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

iterator

public IntIterator iterator()
Specified by:
iterator in interface Iterable<Integer>

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.