org.jplot2d.axtick
Class Int10expn
- java.lang.Object
-
- org.jplot2d.axtick.Int10expn
-
- All Implemented Interfaces:
- DoubleInterval
public final class Int10expn extends java.lang.Object implements DoubleInterval
This class represent a number in c x 10^n form. c is a integer and in range between -9 and 9.
-
-
Constructor Summary
Constructors Constructor and Description Int10expn(double value)Int10expn(int coefficient, int exponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubledoubleValue()booleanequals(java.lang.Object obj)intgetCoefficient()intgetExponent()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Int10expn
public Int10expn(int coefficient, int exponent)
-
Int10expn
public Int10expn(double value)
-
-
Method Detail
-
getCoefficient
public int getCoefficient()
- Returns:
- the coefficient
-
getExponent
public int getExponent()
- Returns:
- the exponent
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein interfaceDoubleInterval
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG