jet
Class LongProgression

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

public class LongProgression
extends Object
implements Progression<Long>


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

Constructor Detail

LongProgression

public LongProgression(long start,
                       long end,
                       long increment)
Method Detail

getStart

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

getEnd

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

getIncrement

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

iterator

public LongIterator iterator()
Specified by:
iterator in interface Iterable<Long>

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.