public class FloatHelper extends Object implements NumberHelper<Float>
| Constructor and Description | 
|---|
FloatHelper()  | 
| Modifier and Type | Method and Description | 
|---|---|
Float | 
add(Number lhs,
   Number rhs)
Adds the two numbers (can be of any Number type) and returns the type result that the number
 helper handles. 
 | 
Float | 
cast(Number n)
Casts the give  
Number into the type the number helper handles. | 
int | 
compare(Number lhs,
       Number rhs)  | 
Float | 
div(Number lhs,
   Number rhs)
Divides the two numbers (can be of any Number type) and returns the type result that the
 number helper handles. 
 | 
Float | 
MAX_VALUE()
Returns the maximum number for the specific type the number helper handles. 
 | 
Float | 
MIN_VALUE()
Returns the minimum number for the specific type the number helper handles. 
 | 
Float | 
mult(Number lhs,
    Number rhs)
Multiplies the two numbers (can be of any Number type) and returns the type result that the
 number helper handles. 
 | 
Float | 
ONE()
Returns the "ONE" value for the given type. 
 | 
Float | 
sub(Number lhs,
   Number rhs)
Substracts the two numbers (can be of any Number type) and returns the type result that the
 number helper handles. 
 | 
Float | 
ZERO()
Returns the "ZERO" value for the given type. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Number lhs, Number rhs)
compare in interface Comparator<Number>public Float add(Number lhs, Number rhs)
NumberHelperadd in interface NumberHelper<Float>public Float sub(Number lhs, Number rhs)
NumberHelpersub in interface NumberHelper<Float>public Float mult(Number lhs, Number rhs)
NumberHelpermult in interface NumberHelper<Float>public Float div(Number lhs, Number rhs)
NumberHelperdiv in interface NumberHelper<Float>public Float MAX_VALUE()
NumberHelperMAX_VALUE in interface NumberHelper<Float>public Float MIN_VALUE()
NumberHelperMIN_VALUE in interface NumberHelper<Float>public Float ONE()
NumberHelperONE in interface NumberHelper<Float>public Float ZERO()
NumberHelperZERO in interface NumberHelper<Float>public Float cast(Number n)
NumberHelperNumber into the type the number helper handles.cast in interface NumberHelper<Float>Copyright © GigaSpaces.