uk.ac.starlink.ttools.plot2.task
Class CoordValue

java.lang.Object
  extended by uk.ac.starlink.ttools.plot2.task.CoordValue

public class CoordValue
extends Object

Aggregates a coordinate specification and the expression strings that give its values.

Since:
22 Nov 2013
Author:
Mark Taylor

Constructor Summary
CoordValue(Coord coord, String[] exprs)
          Constructor.
 
Method Summary
 Coord getCoord()
          Returns the coordinate definition.
 String[] getExpressions()
          Returns the user-supplied expressions for the coordinate's values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoordValue

public CoordValue(Coord coord,
                  String[] exprs)
Constructor.

Parameters:
coord - coordinate definition
exprs - 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 String[] getExpressions()
Returns the user-supplied expressions for the coordinate's values. The returned array has coord.getInputs().length elements.

Returns:
expressions array


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.