public class IntRange extends Object
Class for representing sequence of elements
Constructor and Description |
---|
IntRange(int[] range)
Initializes a new instance of the
IntRange class. |
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. |
Modifier and Type | Method and Description |
---|---|
int[] |
getArrayOneItemFromIndex(int index)
Returns one item array from specified index
|
int[] |
getRange()
Gets or sets the range.
|
static com.aspose.ms.System.Collections.Generic.IGenericEnumerable<Integer> |
getRange(int start,
int count,
int delta)
Gets the count range of int elements starting at start
|
void |
setRange(int[] value)
Gets or sets the range.
|
public IntRange(int start, int count)
Initializes a new instance of the IntRange
class.
start
- The start.count
- The count.public IntRange(int start, int count, int delta)
Initializes a new instance of the IntRange
class.
start
- The start.count
- The count.delta
- The delta.public IntRange(int[] range)
Initializes a new instance of the IntRange
class.
range
- The range.public int[] getRange()
Gets or sets the range.
Value: The range.public void setRange(int[] value)
Gets or sets the range.
Value: The range.public int[] getArrayOneItemFromIndex(int index)
Returns one item array from specified index
index
- The range index.System.Int32
com.aspose.ms.System.IndexOutOfRangeException
- Index is out of rangepublic static com.aspose.ms.System.Collections.Generic.IGenericEnumerable<Integer> getRange(int start, int count, int delta)
Gets the count range of int elements starting at start
start
- The start.count
- The count.delta
- The delta.com.aspose.ms.System.ArgumentException
- Count can not be lover than 1
or
{D255958A-8513-4226-94B9-080D98F904A1}Start page can not be lover than 0Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.