C
- the Comparable
type.public class PermutationEntry<C extends Comparable<? super C>> extends Object implements Comparable<PermutationEntry<C>>
Constructor and Description |
---|
PermutationEntry(C value,
int order)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PermutationEntry<C> o)
Compares values.
|
int |
getOrder()
Gets the order.
|
C |
getValue()
Gets the value.
|
static <T extends Comparable<? super T>> |
iSort(T[] srcV,
int[] srcIndices,
int[] dstV,
int size,
int stride)
Performs an index sort operation in support of
DimensionOps . |
public PermutationEntry(C value, int order)
public int compareTo(PermutationEntry<C> o)
compareTo
in interface Comparable<PermutationEntry<C extends Comparable<? super C>>>
public C getValue()
public int getOrder()
public static final <T extends Comparable<? super T>> void iSort(T[] srcV, int[] srcIndices, int[] dstV, int size, int stride)
DimensionOps
.T
- the component type.srcV
- the source values.srcIndices
- the source indices.dstV
- the destination values.size
- the dimension size.stride
- the dimension stride.