public class MatrixEntryIndexComparatorMTJ extends java.lang.Object implements EntryIndexComparator<MatrixEntry>
EntryIndexComparator.Compare| Modifier and Type | Field and Description |
|---|---|
static MatrixEntryIndexComparatorMTJ |
INSTANCE
An instance of this class since it has no internal fields.
|
| Constructor and Description |
|---|
MatrixEntryIndexComparatorMTJ()
Creates a new instance of MatrixEntryComparatorMTJ
|
| Modifier and Type | Method and Description |
|---|---|
EntryIndexComparator.Compare |
lowestIndex(MatrixEntry firstEntry,
MatrixEntry secondEntry)
Determines which iterator has the lowest index
|
public static final MatrixEntryIndexComparatorMTJ INSTANCE
public MatrixEntryIndexComparatorMTJ()
public EntryIndexComparator.Compare lowestIndex(MatrixEntry firstEntry, MatrixEntry secondEntry)
lowestIndex in interface EntryIndexComparator<MatrixEntry>firstEntry - first entry to considersecondEntry - second entry to consider