Example usage for Java com.google.common.primitives Doubles 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 double value. |
List | asList(double... backingArray) Returns a fixed-size list backed by the specified array, similar to Arrays#asList(Object[]) . |
int | compare(double a, double b) Compares the two specified double values. |
double[] | concat(double[]... arrays) Returns the values from each provided array combined into a single array. |
double[] | ensureCapacity(double[] 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(double value) Returns a hash code for value ; equal to the result of invoking ((Double) value).hashCode() . |
int | indexOf(double[] array, double target) Returns the index of the first appearance of the value target in array . |
int | indexOf(double[] array, double[] target) Returns the start position of the first occurrence of the specified target within array , or -1 if there is no such occurrence. |
boolean | isFinite(double value) Returns true if value represents a real number. |
String | join(String separator, double... array) Returns a string containing the supplied double values, converted to strings as specified by Double#toString(double) , and separated by separator . |
double | max(double... array) Returns the greatest value present in array , using the same rules of comparison as Math#max(double,double) . |
double | min(double... array) Returns the least value present in array , using the same rules of comparison as Math#min(double,double) . |
Converter | stringConverter() Returns a serializable converter object that converts between strings and doubles using Double#valueOf and Double#toString() . |
double[] | toArray(Collection extends Number> collection) Returns an array containing each value of collection , converted to a double value in the manner of Number#doubleValue . |
Double | tryParse(String string) Parses the specified string as a double-precision floating point value. |