Module kivakit.interfaces
Package com.telenav.kivakit.interfaces.numeric
package com.telenav.kivakit.interfaces.numeric
-
InterfacesClassDescriptionArithmetic<Value>Performs type-casting on a long value returned by
Castable.asLong()
Utility methods to cast numbersA quantizable object that can be turned into a double value.IntegerNumeric<Value extends Quantizable>Interface for common operations on integers (in the math sense, not in the sense ofInteger
).Maximizable<Value>Determines which of two objects is the maximum.Minimizable<Value>Determines which of two objects is the minimum.A quantizable object can be turned into a quantum.QuantumComparable<Value extends Quantizable>Provides convenient random number methods given an implementation ofRandomNumeric.randomLongExclusive(long, long)
, andRandomNumeric.randomDoubleZeroToOne()
.