Package uk.ac.starlink.topcat.plot
Class SetId
java.lang.Object
uk.ac.starlink.topcat.plot.SetId
Characterises a plottable set of points selected within a PointSelector.
Instances of this class are used as labels to keep track of plotting sets.
- Since:
- 11 Jan 2005
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the PointSelector which generated this ID.int
Returns the index of the set within its PointSelector which identifies this ID.int
hashCode()
-
Constructor Details
-
SetId
Constructor.- Parameters:
psel
- point selector owning the setiset
- index of the set withinpsel
-
-
Method Details
-
getPointSelector
Returns the PointSelector which generated this ID.- Returns:
- point selector
-
getSetIndex
public int getSetIndex()Returns the index of the set within its PointSelector which identifies this ID.- Returns:
- set index
-
equals
-
hashCode
public int hashCode()
-