public class ResultColumn
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static int |
MAXLEN |
protected static java.lang.String |
SPACES |
static java.lang.String |
version |
Constructor and Description |
---|
ResultColumn(java.lang.String name)
Create the result column
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String value)
Add a value to the column.
|
java.lang.String |
get(int i)
Get a value from column.
|
java.lang.String |
getName()
Get the name of the column
|
int[] |
getOrder()
Get the order index.
|
java.lang.String |
getVersion() |
int |
size()
Get the total number of column in result.
|
java.lang.String |
toString()
Get the list output string in order.
|
public static final java.lang.String version
protected static final java.lang.String SPACES
protected static final int MAXLEN
public ResultColumn(java.lang.String name)
name
- the name of the column.public java.lang.String getVersion()
public java.lang.String getName()
public void add(java.lang.String value)
value
- the new value.public java.lang.String get(int i)
public int size()
public int[] getOrder()
public java.lang.String toString()
toString
in class java.lang.Object
ordered
- if true the output will be sorted.ascent
- if true the output will have ascent order.