- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 224 for comparators (0.1 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
private final Comparator<? super E> comparator; public Builder(Comparator<? super E> comparator) { this.comparator = checkNotNull(comparator); } Builder(Comparator<? super E> comparator, int expectedSize) { super(expectedSize); this.comparator = checkNotNull(comparator); } @CanIgnoreReturnValue @Override public Builder<E> add(E element) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 15.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
* should be identical to the one the user passed in. We touch only the * "secret" comparator used by the delegate implementation. */ private static <K, V> SortedMap<K, V> newModifiableDelegate(Comparator<? super K> comparator) { return newTreeMap(nullAccepting(comparator)); } private static <E> Comparator<@Nullable E> nullAccepting(Comparator<E> comparator) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 16.4K bytes - Viewed (0) -
docs/pt/docs/benchmarks.md
# Comparações As comparações independentes da TechEmpower mostram as aplicações **FastAPI** rodando com Uvicorn como <a href="https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7" class="external-link" target="_blank">um dos _frameworks_ Python mais rápidos disponíveis</a>, somente atrás dos próprios Starlette e Uvicorn (utilizados internamente pelo FastAPI). (*)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 12 00:06:16 UTC 2022 - 3.9K bytes - Viewed (0) -
docs/pt/docs/advanced/benchmarks.md
Porém, ao verificar benchmarks e comparações você deve prestar atenção ao seguinte: ## Benchmarks e velocidade Quando você verifica os benchmarks, é comum ver diversas ferramentas de diferentes tipos comparados como se fossem equivalentes. Especificamente, para ver o Uvicorn, Starlette e FastAPI comparados entre si (entre diversas outras ferramentas).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 14 15:07:11 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
public static <K, V> ImmutableSortedMap<K, V> copyOfSorted(SortedMap<K, ? extends V> map) { Comparator<? super K> comparator = map.comparator(); if (comparator == null) { // If map has a null comparator, the keys should have a natural ordering, // even though K doesn't explicitly implement Comparable. comparator = (Comparator<? super K>) NATURAL_ORDER; } if (map instanceof ImmutableSortedMap) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected List<String> create(String[] elements) { Comparator<String> comparator = createExplicitComparator(elements); ImmutableSet<String> set = ImmutableSortedSet.copyOf(comparator, asList(elements)); return set.asList(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator_test.go
if err != nil { t.Fatalf("Failed to read test data: %v", err) } var outputBuffer bytes.Buffer comparator, err := NewComparator(&outputBuffer, map[string][]byte{"default": cfg}, cfg) if err != nil { t.Fatalf("Failed to create Comparator: %v", err) } err = comparator.Diff() if err != nil { t.Errorf("Unexpected error during diff: %v", err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 2.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
* elements are in the same order as in this. */ internal fun Array<String>.intersect( other: Array<String>, comparator: Comparator<in String>, ): Array<String> { val result = mutableListOf<String>() for (a in this) { for (b in other) { if (comparator.compare(a, b) == 0) { result.add(a) break } } } return result.toTypedArray() } /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 11K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
MIN_MAX { @Override public Queue<Integer> create(Comparator<Integer> comparator) { return MinMaxPriorityQueue.orderedBy(comparator).create(); } }, PRIORITY_QUEUE { @Override public Queue<Integer> create(Comparator<Integer> comparator) { return new PriorityQueue<>(11, comparator); } }, INVERTED_MIN_MAX { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparatorOrdering.java
this.comparator = checkNotNull(comparator); } @Override public int compare(@ParametricNullness T a, @ParametricNullness T b) { return comparator.compare(a, b); } @Override public boolean equals(@CheckForNull Object object) { if (object == this) { return true; } if (object instanceof ComparatorOrdering) { ComparatorOrdering<?> that = (ComparatorOrdering<?>) object;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 1.9K bytes - Viewed (0)