- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 489 for sorts (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java
} return create(array); } protected abstract Multiset<AnEnum> create(AnEnum[] elements); @Override public AnEnum[] createArray(int length) { return new AnEnum[length]; } /** Sorts the enums according to their natural ordering. */ /* * While the current implementation returns `this`, that's not something we mean to guarantee.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
for (int j = 0; j < datasetSize; j++) { datasets[i][j] = rng.nextDouble(); } } } private double[] dataset(int i) { // We must test on a fresh clone of the dataset each time. Doing sorts and quickselects on a // dataset which is already sorted or partially sorted is cheating. return datasets[i & 0xFF].clone(); } @Benchmark double median(int reps) { double dummy = 0.0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
@Override public String toString() { return "Shorts.lexicographicalComparator()"; } } /** * Sorts the elements of {@code array} in descending order. * * @since 23.1 */ public static void sortDescending(short[] array) { checkNotNull(array); sortDescending(array, 0, array.length); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
@Override public String toString() { return "Shorts.lexicographicalComparator()"; } } /** * Sorts the elements of {@code array} in descending order. * * @since 23.1 */ public static void sortDescending(short[] array) { checkNotNull(array); sortDescending(array, 0, array.length); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
return checkedCreate(nullCheckedTreeSet(elements)).descendingSet(); } /** Sorts the elements in reverse natural order. */ @SuppressWarnings("CanIgnoreReturnValueSuggester") // see ImmutableSortedSetExplicitComparator @Override public List<Integer> order(List<Integer> insertionOrder) { sort(insertionOrder, Ordering.<Integer>natural().reverse()); return insertionOrder; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
int bVal = b ? trueValue : 0; return bVal - aVal; } @Override public String toString() { return toString; } } /** * Returns a {@code Comparator<Boolean>} that sorts {@code true} before {@code false}. * * <p>This is particularly useful in Java 8+ in combination with {@code Comparator.comparing}, * e.g. {@code Comparator.comparing(Foo::hasBar, trueFirst())}. * * @since 21.0
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
int bVal = b ? trueValue : 0; return bVal - aVal; } @Override public String toString() { return toString; } } /** * Returns a {@code Comparator<Boolean>} that sorts {@code true} before {@code false}. * * <p>This is particularly useful in Java 8+ in combination with {@code Comparator.comparing}, * e.g. {@code Comparator.comparing(Foo::hasBar, trueFirst())}. * * @since 21.0
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
DataStoreFactory testFactory = new DataStoreFactory(); List<String> names = testFactory.loadDataStoreNameList(); assertNotNull(names); } // Test loadDataStoreNameList sorts results public void test_loadDataStoreNameList_sorted() { DataStoreFactory testFactory = new DataStoreFactory() { @Override protected List<String> loadDataStoreNameList() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
} return array; } /** * Sorts the elements of {@code array} in descending order. * * @since 23.1 */ public static void sortDescending(char[] array) { checkNotNull(array); sortDescending(array, 0, array.length); } /** * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0)