E - the type of the elementspublic final class RangeIterable<E>
extends java.lang.Object
implements java.lang.Iterable<E>
RangeIterable iterates each element within a range derived by 2
objects.| Constructor and Description |
|---|
RangeIterable(Successive<E> successive,
E startPoint,
E endPoint)
Creates a
RangeIterable. |
public RangeIterable(Successive<E> successive, E startPoint, E endPoint)
RangeIterable.successive - a SuccessivestartPoint - an elementendPoint - an elementjava.lang.NullPointerException - if successive or startPoint or endPoint is null