Example usage for Java com.google.common.primitives Floats fields, constructors, methods, implement or subclass
The text is from its open source code.
int | BYTES The number of bytes required to represent a primitive float value. |
List | asList(float... backingArray) Returns a fixed-size list backed by the specified array, similar to Arrays#asList(Object[]) . |
int | compare(float a, float b) Compares the two specified float values using Float#compare(float,float) . |
float[] | ensureCapacity(float[] array, int minLength, int padding) Returns an array containing the same values as array , but guaranteed to be of a specified minimum length. |
int | hashCode(float value) Returns a hash code for value ; equal to the result of invoking ((Float) value).hashCode() . |
boolean | isFinite(float value) Returns true if value represents a real number. |
float | max(float... array) Returns the greatest value present in array , using the same rules of comparison as Math#max(float,float) . |
float | min(float... array) Returns the least value present in array , using the same rules of comparison as Math#min(float,float) . |
Converter | stringConverter() Returns a serializable converter object that converts between strings and floats using Float#valueOf and Float#toString() . |
float[] | toArray(Collection extends Number> collection) Returns an array containing each value of collection , converted to a float value in the manner of Number#floatValue . |
Float | tryParse(String string) Parses the specified string as a single-precision floating point value. |