Package uk.ac.starlink.ttools.plot2.task
Class CoordValue
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.task.CoordValue
-
public class CoordValue extends java.lang.Object
Aggregates a coordinate specification and the expression strings that give its values.- Since:
- 22 Nov 2013
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description CoordValue(Coord coord, java.lang.String[] exprs)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Coord
getCoord()
Returns the coordinate definition.java.lang.String[]
getExpressions()
Returns the user-supplied expressions for the coordinate's values.
-
-
-
Constructor Detail
-
CoordValue
public CoordValue(Coord coord, java.lang.String[] exprs)
Constructor.- Parameters:
coord
- coordinate definitionexprs
- array of user-supplied expressions, one for each input value associated with the coordinate
-
-
Method Detail
-
getCoord
public Coord getCoord()
Returns the coordinate definition.- Returns:
- coord
-
getExpressions
public java.lang.String[] getExpressions()
Returns the user-supplied expressions for the coordinate's values. The returned array has coord.getInputs().length elements.- Returns:
- expressions array
-
-