public final class Index extends Object implements Serializable, Cloneable
| 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) |
int |
hashCode() |
int |
length() |
static Index |
of(int... indexes) |
void |
permute(Index permutationIndex) |
void |
reverse() |
void |
set(int i,
int value) |
void |
sort() |
void |
swap(int i,
int j) |
int[] |
toArray() |
String |
toString() |
static Index |
wrap(int[] indexes) |
public void swap(int i,
int j)
public void reverse()
public static Index wrap(int[] indexes)
public static Index of(int... indexes)
public int get(int i)
public void set(int i,
int value)
public int length()
public void permute(Index permutationIndex)
public void sort()
public int[] toArray()
public boolean equals(Index o)
Copyright © 2012. All Rights Reserved.