Modifier and Type | Method | Description |
---|---|---|
Index |
Index.asIndex() |
Returns this index.
|
Index |
Key.asIndex() |
throws UnsupportedOperationException.
|
Index |
Position.asIndex() |
Casts this position into an Index, throwing an exception if it's a Key.
|
static Index |
Index.of(int index) |
Returns a new instance witch represents the given index in an array.
|
Copyright © 2019. All rights reserved.