- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 395 for Ordering (0.37 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
implements TestSetGenerator<UnhashableObject> {} private static Ordering<String> createExplicitComparator(String[] elements) { // Collapse equal elements, which Ordering.explicit() doesn't support, while // maintaining the ordering by first occurrence. Set<String> elementsPlus = new LinkedHashSet<>(); elementsPlus.add(BEFORE_FIRST);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedLists.java
* KeyAbsentBehavior)} using {@link Ordering#natural}. */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 public static <E extends Comparable> int binarySearch( List<? extends E> list, E e, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) { checkNotNull(e); return binarySearch(list, e, Ordering.natural(), presentBehavior, absentBehavior);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
* a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's * already in the multimap has no effect. This interface does not specify the ordering of the * multimap's keys. See the {@link Multimap} documentation for information common to all multimaps. * * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
*/ @Override public Map<K, Collection<V>> asMap() { return super.asMap(); } /** * {@inheritDoc} * * <p>Consequently, the values do not follow their natural ordering or the ordering of the value * comparator. */ @Override public Collection<V> values() { return super.values(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 5.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedIterables.java
* * @author Louis Wasserman */ @GwtCompatible final class SortedIterables { private SortedIterables() {} /** * Returns {@code true} if {@code elements} is a sorted collection using an ordering equivalent to * {@code comparator}. */ public static boolean hasSameComparator(Comparator<?> comparator, Iterable<?> elements) { checkNotNull(comparator); checkNotNull(elements);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
private static final Ordering<Invokable<?, ?>> BY_METHOD_NAME = new Ordering<Invokable<?, ?>>() { @Override public int compare(Invokable<?, ?> left, Invokable<?, ?> right) { return left.getName().compareTo(right.getName()); } }; private static final Ordering<Invokable<?, ?>> BY_PARAMETERS = new Ordering<Invokable<?, ?>>() { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
} // TODO: b/296487962 - Consider defining a total order over constructors. private static final Ordering<List<Class<?>>> ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST = Ordering.natural() .onResultOf((List<Class<?>> params) -> params.contains(String.class)) .compound( Ordering.natural() .onResultOf((List<Class<?>> params) -> params.contains(Throwable.class)))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedSetMultimap.java
* a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's * already in the multimap has no effect. This interface does not specify the ordering of the * multimap's keys. See the {@link Multimap} documentation for information common to all multimaps. * * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/EditForm.java
*/ public class EditForm extends CreateForm { /** Unique identifier for the search list entry */ public String id; /** Sequence number for ordering search list entries */ @ValidateTypeFailure public Long seqNo; /** Primary term value for search list configuration */ @ValidateTypeFailure public Long primaryTerm; /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.3K bytes - Click Count (0) -
cmd/metrics-v2_test.go
} if expMetricsPerAPI := len(histBuckets) + 1; expMetricsPerAPI != len(capitalPutObjects) { t.Fatalf("Expected %d api=PutObject metrics but got %d", expMetricsPerAPI, len(capitalPutObjects)) } // Deterministic ordering slices.SortFunc(capitalPutObjects, func(a MetricV2, b MetricV2) int { le1 := a.VariableLabels["le"] le2 := a.VariableLabels["le"] return strings.Compare(le1, le2) })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.8K bytes - Click Count (0)