Java com.google.common.primitives Doubles fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.primitives Doubles fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.primitives Doubles.

The text is from its open source code.

Field

intBYTES
The number of bytes required to represent a primitive double value.

Method

ListasList(double... backingArray)
Returns a fixed-size list backed by the specified array, similar to Arrays#asList(Object[]) .
intcompare(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.
inthashCode(double value)
Returns a hash code for value ; equal to the result of invoking ((Double) value).hashCode() .
intindexOf(double[] array, double target)
Returns the index of the first appearance of the value target in array .
intindexOf(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.
booleanisFinite(double value)
Returns true if value represents a real number.
Stringjoin(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 .
doublemax(double... array)
Returns the greatest value present in array , using the same rules of comparison as Math#max(double,double) .
doublemin(double... array)
Returns the least value present in array , using the same rules of comparison as Math#min(double,double) .
ConverterstringConverter()
Returns a serializable converter object that converts between strings and doubles using Double#valueOf and Double#toString() .
double[]toArray(Collection collection)
Returns an array containing each value of collection , converted to a double value in the manner of Number#doubleValue .
DoubletryParse(String string)
Parses the specified string as a double-precision floating point value.