public interface IIdentifierContext
isRange()
will return
true
.Modifier and Type | Method and Description |
---|---|
int |
getEndIndex()
The end index.
|
int |
getIndex(int i)
Get the index at position
i . |
int[] |
getIndices()
The set of discrete indices in this range.
|
int |
getNumberOfIndices()
The number of indices.
|
int |
getStartIndex()
The start index.
|
boolean |
isRange()
Does this IdContext constitution a contiguous block of fields between
the start and end indices?
|
boolean |
isValidIndex(int index)
Check if
index is within this context. |
int[] getIndices()
int getStartIndex()
int getEndIndex()
boolean isRange()
boolean isValidIndex(int index)
index
is within this context.index
- int getNumberOfIndices()
int getIndex(int i)
i
.i
- i
.IllegalArgumentException
- if i
is out of range.Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.