anl.aida.data
Interface StringCoordAxis

All Superinterfaces:
CoordAxis
All Known Implementing Classes:
DataFrameStringAxis, DefaultStringCoordAxis

public interface StringCoordAxis
extends CoordAxis

Axis that maps indices to Strings.


Field Summary
static int INDEX_NOT_FOUND
           
 
Method Summary
 int getIndex(java.lang.String value)
          Gets the index of the specified value.
 java.lang.String getString(int index)
          Gets the String value at the specified index.
 
Methods inherited from interface anl.aida.data.CoordAxis
getAttribute, getAxisType, getDescription, getName, getRange, getUnits, getValue, getValueAsString, isCompatible
 

Field Detail

INDEX_NOT_FOUND

static final int INDEX_NOT_FOUND
See Also:
Constant Field Values
Method Detail

getString

java.lang.String getString(int index)
Gets the String value at the specified index.

Parameters:
index - the index of the String value
Returns:
the String value at the specified index.

getIndex

int getIndex(java.lang.String value)
Gets the index of the specified value.

Parameters:
value - the value whose index we want
Returns:
the index of the specified value or INDEX_NOT_FOUND if the value is not found