IntRange

Inheritance: java.lang.Object

public class IntRange

Class for representing sequence of elements

Constructors

ConstructorDescription
IntRange(int start, int count)Initializes a new instance of the IntRange class.
IntRange(int start, int count, int delta)Initializes a new instance of the IntRange class.
IntRange(int[] range)Initializes a new instance of the IntRange class.

Methods

MethodDescription
equals(Object arg0)
getArrayOneItemFromIndex(int index)Returns one item array from specified index
getClass()
getRange()Gets the range.
getRange(int start, int count, int delta)Gets the count range of int elements starting at start
hashCode()
notify()
notifyAll()
setRange(int[] value)Sets the range.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

IntRange(int start, int count)

public IntRange(int start, int count)

Initializes a new instance of the IntRange class.

Parameters:

ParameterTypeDescription
startintThe start.
countintThe count.

IntRange(int start, int count, int delta)

public IntRange(int start, int count, int delta)

Initializes a new instance of the IntRange class.

Parameters:

ParameterTypeDescription
startintThe start.
countintThe count.
deltaintThe delta.

IntRange(int[] range)

public IntRange(int[] range)

Initializes a new instance of the IntRange class.

Parameters:

ParameterTypeDescription
rangeint[]The range.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getArrayOneItemFromIndex(int index)

public int[] getArrayOneItemFromIndex(int index)

Returns one item array from specified index

Parameters:

ParameterTypeDescription
indexintThe range index.

Returns: int[] - The array of System.Int32

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getRange()

public int[] getRange()

Gets the range.

Returns: int[] - The range.

getRange(int start, int count, int delta)

public static int[] getRange(int start, int count, int delta)

Gets the count range of int elements starting at start

Parameters:

ParameterTypeDescription
startintThe start.
countintThe count.
deltaintThe delta.

Returns: int[] - Array of items

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setRange(int[] value)

public void setRange(int[] value)

Sets the range.

Parameters:

ParameterTypeDescription
valueint[]The range.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int