org.encog.app.analyst.csv.sort
public class SortedField extends Object
Constructor and Description |
---|
SortedField(int theIndexindex,
SortType t,
boolean theAscending)
Construct the object.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
SortType |
getSortType() |
boolean |
isAscending() |
void |
setAscending(boolean theAscending) |
void |
setIndex(int theIndex) |
void |
setSortType(SortType theSortType) |
String |
toString() |
public SortedField(int theIndexindex, SortType t, boolean theAscending)
theIndexindex
- The index of the sorted field.t
- The type of sort, the type of object.theAscending
- True, if this is an ascending sort.public int getIndex()
public SortType getSortType()
public boolean isAscending()
public void setAscending(boolean theAscending)
theAscending
- the ascending to setpublic void setIndex(int theIndex)
theIndex
- the index to setpublic void setSortType(SortType theSortType)
theSortType
- the sortType to setCopyright © 2014. All Rights Reserved.