org.encog.app.analyst.csv.sort
Class SortedField
- java.lang.Object
-
- org.encog.app.analyst.csv.sort.SortedField
-
public class SortedField extends java.lang.ObjectSpecifies how a field is to be sorted by SortCSV.
-
-
Constructor Summary
Constructors Constructor and Description SortedField(int theIndexindex, SortType t, boolean theAscending)Construct the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetIndex()SortTypegetSortType()booleanisAscending()voidsetAscending(boolean theAscending)voidsetIndex(int theIndex)voidsetSortType(SortType theSortType)java.lang.StringtoString()
-
-
-
Constructor Detail
-
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.
-
-
Method Detail
-
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 java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG