Class FloatValue
java.lang.Object
net.woggioni.jmath.FloatValue
- All Implemented Interfaces:
Comparable<FloatValue>, NumericType<FloatValue>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabs()add(FloatValue other) protected booleanintdiv(FloatValue other) booleaninthashCode()mul(FloatValue other) static FloatValueof(float n) sqrt()sub(FloatValue other) toString()
-
Constructor Details
-
FloatValue
public FloatValue(float value)
-
-
Method Details
-
add
- Specified by:
addin interfaceNumericType<FloatValue>
-
sub
- Specified by:
subin interfaceNumericType<FloatValue>
-
mul
- Specified by:
mulin interfaceNumericType<FloatValue>
-
div
- Specified by:
divin interfaceNumericType<FloatValue>
-
abs
- Specified by:
absin interfaceNumericType<FloatValue>
-
sqrt
- Specified by:
sqrtin interfaceNumericType<FloatValue>
-
compareTo
- Specified by:
compareToin interfaceComparable<FloatValue>
-
of
-
toString
-
equals
-
canEqual
-
hashCode
-