public abstract class AIndex extends Object implements Serializable, Cloneable, Comparable<AIndex>, Iterable<Integer>
| Constructor and Description |
|---|
AIndex() |
| Modifier and Type | Method and Description |
|---|---|
AIndex |
clone() |
int |
compareTo(AIndex a) |
Index |
compose(AIndex a) |
boolean |
contains(Index inds) |
boolean |
contains(int index) |
void |
copyTo(int[] array,
int offset) |
boolean |
equals(AIndex o) |
boolean |
equals(Object o) |
abstract int |
get(int i)
Gets the index value at position i
|
int |
hashCode() |
boolean |
isDistinct()
Returns true if this Index contains only distinct integer indices
|
boolean |
isFullyMutable() |
boolean |
isPermutation()
Returns true if this index represents a permutation of positions 0..length-1
|
boolean |
isSorted() |
IndexIterator |
iterator() |
abstract int |
length()
Returns the length of this index list
|
int |
maxIndex() |
int |
minIndex() |
void |
reverse() |
void |
set(int i,
int value) |
void |
swap(int i,
int j) |
int[] |
toArray() |
List<Integer> |
toList() |
String |
toString() |
public abstract int get(int i)
i - public abstract int length()
public void set(int i,
int value)
public boolean isFullyMutable()
public void copyTo(int[] array,
int offset)
public int[] toArray()
public void swap(int i,
int j)
public void reverse()
public int minIndex()
public int maxIndex()
public boolean isSorted()
public boolean isDistinct()
public boolean isPermutation()
public boolean contains(int index)
public boolean contains(Index inds)
public boolean equals(AIndex o)
public int compareTo(AIndex a)
compareTo in interface Comparable<AIndex>public IndexIterator iterator()
Copyright © 2012. All Rights Reserved.