RxJava



rx.util
Class Range

java.lang.Object
  extended by rx.util.Range
All Implemented Interfaces:
java.lang.Iterable<java.lang.Integer>

public final class Range
extends java.lang.Object
implements java.lang.Iterable<java.lang.Integer>


Method Summary
static Range create(int start, int end)
           
static Range createWithCount(int start, int count)
           
static Range createWithStep(int start, int end, int step)
           
 java.util.Iterator<java.lang.Integer> iterator()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createWithCount

public static Range createWithCount(int start,
                                    int count)

create

public static Range create(int start,
                           int end)

createWithStep

public static Range createWithStep(int start,
                                   int end,
                                   int step)

iterator

public java.util.Iterator<java.lang.Integer> iterator()
Specified by:
iterator in interface java.lang.Iterable<java.lang.Integer>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object