- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 912 for Array (0.02 sec)
-
android/guava/src/com/google/common/primitives/Longs.java
checkArgument(array.length > 0); long min = array[0]; for (int i = 1; i < array.length; i++) { if (array[i] < min) { min = array[i]; } } return min; } /** * Returns the greatest value present in {@code array}. * * @param array a <i>nonempty</i> array of {@code long} values
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-25 18:05 - 29.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Longs.java
checkArgument(array.length > 0); long min = array[0]; for (int i = 1; i < array.length; i++) { if (array[i] < min) { min = array[i]; } } return min; } /** * Returns the greatest value present in {@code array}. * * @param array a <i>nonempty</i> array of {@code long} values
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-17 15:52 - 29K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* * @param length the length of the array */ public AtomicDoubleArray(int length) { this.longs = new AtomicLongArray(length); } /** * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from, * the given array. * * @param array the array to copy elements from * @throws NullPointerException if array is null */
Registered: 2024-11-01 12:43 - Last Modified: 2024-06-14 17:55 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
T[] result = newArray(array, array.length + 1); result[0] = element; arraycopy(array, 0, result, 1, array.length); return result; } /** * Returns a new array that appends {@code element} to {@code array}. * * @param array the array of elements to prepend * @param element the element to append to the end
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-30 16:15 - 9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
Registered: 2024-11-01 12:43 - Last Modified: 2021-09-17 20:24 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Chars.java
checkArgument(array.length > 0); char min = array[0]; for (int i = 1; i < array.length; i++) { if (array[i] < min) { min = array[i]; } } return min; } /** * Returns the greatest value present in {@code array}. * * @param array a <i>nonempty</i> array of {@code char} values
Registered: 2024-11-01 12:43 - Last Modified: 2024-08-27 16:47 - 23.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* in the array according to {@link #compare} * @throws IllegalArgumentException if {@code array} is empty */ public static int max(int... array) { checkArgument(array.length > 0); int max = flip(array[0]); for (int i = 1; i < array.length; i++) { int next = flip(array[i]); if (next > max) { max = next; } }
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-30 21:17 - 13.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInts.java
* in the array according to {@link #compare} * @throws IllegalArgumentException if {@code array} is empty */ public static int max(int... array) { checkArgument(array.length > 0); int max = flip(array[0]); for (int i = 1; i < array.length; i++) { int next = flip(array[i]); if (next > max) { max = next; } }
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-30 21:17 - 13.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java
String value3 = "c"; settings.array().add(key, value1); settings.array().add(key, value2); settings.array().add(key, value3); assertEquals(3, settings.array().get(key).length); assertEquals(value1, settings.array().get(key)[0]); assertEquals(value2, settings.array().get(key)[1]); assertEquals(value3, settings.array().get(key)[2]); } @Test
Registered: 2024-11-08 09:08 - Last Modified: 2024-02-22 01:36 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
Arrays.sort(array, fromIndex, toIndex); reverse(array, fromIndex, toIndex); } /** * Reverses the elements of {@code array}. This is equivalent to {@code * Collections.reverse(Doubles.asList(array))}, but is likely to be more efficient. * * @since 23.1 */ public static void reverse(double[] array) { checkNotNull(array); reverse(array, 0, array.length); }
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-17 15:52 - 27.9K bytes - Viewed (0)