public class IntegerList extends Object implements ISimpleList
getRange(int, int).
This class is part of the internal logic and should not be referenced directly.
| Modifier and Type | Field and Description |
|---|---|
protected IndirectDataset |
dataSet |
| Constructor and Description |
|---|
IntegerList(IndirectDataset dataSet,
BinaryReader reader)
Constructs a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
get(int index)
Returns the value in the list at the index provided.
|
List<Integer> |
getRange(int index,
int count)
Returns the values in the list starting at the index provided.
|
int |
size() |
protected final IndirectDataset dataSet
public IntegerList(IndirectDataset dataSet, BinaryReader reader)
dataSet - stream dataset with pool ofreader - BinaryReader connected to the source data structure and
positioned to start reading.public int get(int index)
ISimpleListget in interface ISimpleListindex - of the value required.public List<Integer> getRange(int index, int count)
ISimpleListgetRange in interface ISimpleListindex - first index of the range required.count - number of elements to return.public int size()
size in interface ISimpleListCopyright © 2017 51Degrees. All rights reserved.