Lines Matching full:double
104 Static utility methods pertaining to <code>double</code> primitives, that are not
105 already found in either <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><CODE>Double</CODE></A> or <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true" title="class or interface in java.util"><CODE>Arrays</CODE></A>.
129 <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</A>></CODE></FONT></TD>
130 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#asList(double...)">asList</A></B>(double... backingArray)</CODE>
138 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#compare(double, double)">compare</A></B>(double a,
139 double b)</CODE>
142 Compares the two specified <code>double</code> values.</TD>
146 <CODE>static double[]</CODE></FONT></TD>
147 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#concat(double[]...)">concat</A></B>(double[]... arrays)</CODE>
155 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#contains(double[], double)">contains</A></B>(double[] array,
156 double target)</CODE>
164 <CODE>static double[]</CODE></FONT></TD>
165 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#ensureCapacity(double[], int, int)">ensureCapacity</A></B>(double[] array,
176 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#hashCode(double)">hashCode</A></B>(double value)</CODE>
180 <code>((Double) value).hashCode()</code>.</TD>
185 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#indexOf(double[], double)">indexOf</A></B>(double[] array,
186 double target)</CODE>
195 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#indexOf(double[], double[])">indexOf</A></B>(double[] array,
196 double[] target)</CODE>
204 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#join(java.lang.String, double...)">join</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> separator,
205 double... array)</CODE>
208 Returns a string containing the supplied <code>double</code> values, converted
209 to strings as specified by <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Double.html?is-external=true#toString(double)" title="class or interface in java.lang"><CODE>Double.toString(double)</CODE></A>, and separated
215 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#lastIndexOf(double[], double)">lastIndexOf</A></B>(double[] array,
216 double target)</CODE>
224 <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</A><double[]></CODE></FONT></TD>
228 Returns a comparator that compares two <code>double</code> arrays
233 <CODE>static double</CODE></FONT></TD>
234 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#max(double...)">max</A></B>(double... array)</CODE>
238 of comparison as <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Math.html?is-external=true#max(double, double)" title="class or interface in java.lang"><CODE>Math.max(double, double)</CODE></A>.</TD>
242 <CODE>static double</CODE></FONT></TD>
243 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#min(double...)">min</A></B>(double... array)</CODE>
247 comparison as <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Math.html?is-external=true#min(double, double)" title="class or interface in java.lang"><CODE>Math.min(double, double)</CODE></A>.</TD>
251 <CODE>static double[]</CODE></FONT></TD>
252 <TD><CODE><B><A HREF="../../../../com/google/common/primitives/Doubles.html#toArray(java.util.Collection)">toArray</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</A>> collection)</CODE>
255 Copies a collection of <code>Double</code> instances into a new array of
256 primitive <code>double</code> values.</TD>
281 <A NAME="hashCode(double)"><!-- --></A><H3>
284 public static int <B>hashCode</B>(double value)</PRE>
287 <code>((Double) value).hashCode()</code>.
290 <DT><B>Parameters:</B><DD><CODE>value</CODE> - a primitive <code>double</code> value
296 <A NAME="compare(double, double)"><!-- --></A><H3>
299 public static int <B>compare</B>(double a,
300 double b)</PRE>
302 <DD>Compares the two specified <code>double</code> values. The sign of the value
303 returned is the same as that of <code>((Double) a).<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Double.html?is-external=true#compareTo(java.lang.Double)" title="class or interface in java.lang">compareTo</A>(b)</code>. As with that method, <code>NaN</code> is
307 <DT><B>Parameters:</B><DD><CODE>a</CODE> - the first <code>double</code> to compare<DD><CODE>b</CODE> - the second <code>double</code> to compare
314 <A NAME="contains(double[], double)"><!-- --></A><H3>
317 public static boolean <B>contains</B>(double[] array,
318 double target)</PRE>
324 <DT><B>Parameters:</B><DD><CODE>array</CODE> - an array of <code>double</code> values, possibly empty<DD><CODE>target</CODE> - a primitive <code>double</code> value
330 <A NAME="indexOf(double[], double)"><!-- --></A><H3>
333 public static int <B>indexOf</B>(double[] array,
334 double target)</PRE>
341 <DT><B>Parameters:</B><DD><CODE>array</CODE> - an array of <code>double</code> values, possibly empty<DD><CODE>target</CODE> - a primitive <code>double</code> value
348 <A NAME="indexOf(double[], double[])"><!-- --></A><H3>
351 public static int <B>indexOf</B>(double[] array,
352 double[] target)</PRE>
368 <A NAME="lastIndexOf(double[], double)"><!-- --></A><H3>
371 public static int <B>lastIndexOf</B>(double[] array,
372 double target)</PRE>
379 <DT><B>Parameters:</B><DD><CODE>array</CODE> - an array of <code>double</code> values, possibly empty<DD><CODE>target</CODE> - a primitive <code>double</code> value
386 <A NAME="min(double...)"><!-- --></A><H3>
389 public static double <B>min</B>(double... array)</PRE>
392 comparison as <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Math.html?is-external=true#min(double, double)" title="class or interface in java.lang"><CODE>Math.min(double, double)</CODE></A>.
395 <DT><B>Parameters:</B><DD><CODE>array</CODE> - a <i>nonempty</i> array of <code>double</code> values
404 <A NAME="max(double...)"><!-- --></A><H3>
407 public static double <B>max</B>(double... array)</PRE>
410 of comparison as <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Math.html?is-external=true#max(double, double)" title="class or interface in java.lang"><CODE>Math.max(double, double)</CODE></A>.
413 <DT><B>Parameters:</B><DD><CODE>array</CODE> - a <i>nonempty</i> array of <code>double</code> values
422 <A NAME="concat(double[]...)"><!-- --></A><H3>
425 public static double[] <B>concat</B>(double[]... arrays)</PRE>
428 For example, <code>concat(new double[] {a, b}, new double[] {}, new
429 double[] {c}</code> returns the array <code>{a, b, c}</code>.
432 <DT><B>Parameters:</B><DD><CODE>arrays</CODE> - zero or more <code>double</code> arrays
439 <A NAME="ensureCapacity(double[], int, int)"><!-- --></A><H3>
442 public static double[] <B>ensureCapacity</B>(double[] array,
464 <A NAME="join(java.lang.String, double...)"><!-- --></A><H3>
468 double... array)</PRE>
470 <DD>Returns a string containing the supplied <code>double</code> values, converted
471 to strings as specified by <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Double.html?is-external=true#toString(double)" title="class or interface in java.lang"><CODE>Double.toString(double)</CODE></A>, and separated
477 the resulting string (but not at the start or end)<DD><CODE>array</CODE> - an array of <code>double</code> values, possibly empty</DL>
485 public static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</A><double[]> <B>lexicographicalComparator</B>()</PRE>
487 <DD>Returns a comparator that compares two <code>double</code> arrays
488 lexicographically. That is, it compares, using <A HREF="../../../../com/google/common/primitives/Doubles.html#compare(double, double)"><CODE>compare(double, double)</CODE></A>), the first pair of values that follow any
494 it is consistent with <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#equals(double[], double[])" title="class or interface in java.util"><CODE>Arrays.equals(double[], double[])</CODE></A>.
508 public static double[] <B>toArray</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</A>> collection)</PRE>
510 <DD>Copies a collection of <code>Double</code> instances into a new array of
511 primitive <code>double</code> values.
517 <DT><B>Parameters:</B><DD><CODE>collection</CODE> - a collection of <code>Double</code> objects
527 <A NAME="asList(double...)"><!-- --></A><H3>
530 public static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</A>> <B>asList</B>(double... backingArray)</PRE>
536 <code>Double</code> objects written to or read from it. For example, whether