Package uk.ac.starlink.ttools.plot2.data
Class Input
java.lang.Object
uk.ac.starlink.ttools.plot2.data.Input
Characterises a coordinate value as specified by the user.
There may be multiple Input values corresponding to a single
coordinate (
Coord
as used by the plotting system.- Since:
- 12 Sep 2014
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionuk.ac.starlink.table.Domain<?>
Returns the value domain which this input represents.getMeta()
Returns user-directed metadata describing this input.Returns an object that behaves like this one but has different metadata as supplied.
-
Constructor Details
-
Input
Constructor.- Parameters:
meta
- user-directed metadatadomain
- data value domain
-
-
Method Details
-
getMeta
Returns user-directed metadata describing this input.- Returns:
- metadata
-
getDomain
public uk.ac.starlink.table.Domain<?> getDomain()Returns the value domain which this input represents. This can also be used to determine what input value types are acceptable.- Returns:
- value domain
-
withMeta
Returns an object that behaves like this one but has different metadata as supplied.- Parameters:
meta
- new metadata object- Returns:
- new Input instance with given metadata
-