org.encog.app.analyst.csv.sort
Class SortedField
java.lang.Object
org.encog.app.analyst.csv.sort.SortedField
public class SortedField
- extends Object
Specifies how a field is to be sorted by SortCSV.
Constructor Summary |
SortedField(int theIndexindex,
SortType t,
boolean theAscending)
Construct the object. |
SortedField
public SortedField(int theIndexindex,
SortType t,
boolean theAscending)
- Construct the object.
- Parameters:
theIndexindex
- The index of the sorted field.t
- The type of sort, the type of object.theAscending
- True, if this is an ascending sort.
getIndex
public int getIndex()
- Returns:
- the index
getSortType
public SortType getSortType()
- Returns:
- the sortType
isAscending
public boolean isAscending()
- Returns:
- the ascending
setAscending
public void setAscending(boolean theAscending)
- Parameters:
theAscending
- the ascending to set
setIndex
public void setIndex(int theIndex)
- Parameters:
theIndex
- the index to set
setSortType
public void setSortType(SortType theSortType)
- Parameters:
theSortType
- the sortType to set
toString
public String toString()
-
- Overrides:
toString
in class Object
Copyright © 2014. All Rights Reserved.