Class ScaleValue
- java.lang.Object
-
- net.anwiba.commons.utilities.scale.ScaleValue
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IScaleValue>,IScaleValue
public class ScaleValue extends java.lang.Object implements java.lang.Comparable<IScaleValue>, IScaleValue
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ScaleValueNULL_VALUE
-
Constructor Summary
Constructors Constructor Description ScaleValue(double factor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(IScaleValue other)booleanequals(java.lang.Object obj)doublegetFactor()inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
NULL_VALUE
public static final ScaleValue NULL_VALUE
-
-
Method Detail
-
getFactor
public double getFactor()
- Specified by:
getFactorin interfaceIScaleValue
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(IScaleValue other)
- Specified by:
compareToin interfacejava.lang.Comparable<IScaleValue>- Specified by:
compareToin interfaceIScaleValue
-
-