IntRange
Contents
[
Hide
]Inheritance: java.lang.Object
public class IntRange
Class for representing sequence of elements
Constructors
Constructor | Description |
---|---|
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
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
start | int | The start. |
count | int | The 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:
Parameter | Type | Description |
---|---|---|
start | int | The start. |
count | int | The count. |
delta | int | The delta. |
IntRange(int[] range)
public IntRange(int[] range)
Initializes a new instance of the IntRange class.
Parameters:
Parameter | Type | Description |
---|---|---|
range | int[] | The range. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getArrayOneItemFromIndex(int index)
public int[] getArrayOneItemFromIndex(int index)
Returns one item array from specified index
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | The 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:
Parameter | Type | Description |
---|---|---|
start | int | The start. |
count | int | The count. |
delta | int | The 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:
Parameter | Type | Description |
---|---|---|
value | int[] | 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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |