public final class Index extends AIndex
| Modifier and Type | Field and Description |
|---|---|
int[] |
data |
| Constructor and Description |
|---|
Index(int length) |
| Modifier and Type | Method and Description |
|---|---|
Index |
clone() |
boolean |
equals(Index o) |
boolean |
equals(Object o) |
int |
get(int i)
Gets the index value at position i
|
int[] |
getData() |
boolean |
isFullyMutable() |
int |
length()
Returns the length of this index list
|
void |
lookupWith(Index source) |
static Index |
of(int... indexes) |
void |
permute(Index permutationIndex)
Permutes this vector according to a given permutation index
|
void |
reverse() |
void |
set(int i,
int value) |
void |
sort() |
void |
swap(int i,
int j) |
int[] |
toArray() |
static Index |
wrap(int[] indexes) |
public static Index wrap(int[] indexes)
public static Index of(int... indexes)
public int get(int i)
AIndexpublic int length()
AIndexpublic void permute(Index permutationIndex)
permutationIndex - public void sort()
public boolean equals(Index o)
public int[] getData()
public boolean isFullyMutable()
isFullyMutable in class AIndexpublic void lookupWith(Index source)
Copyright © 2012. All Rights Reserved.