@Equality public class Tick extends java.lang.Object
Constructor and Description |
---|
Tick(double value)
Constructs a minor tick.
|
Tick(double value,
java.lang.String label)
Constructs a tick.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getLabel()
Returns this tick's text label.
|
double |
getValue()
Returns this tick's numeric value.
|
int |
hashCode() |
java.lang.String |
toString() |
public Tick(double value)
value
- numeric valuepublic Tick(double value, java.lang.String label)
value
- numeric valuelabel
- text labelpublic double getValue()
public java.lang.String getLabel()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.