- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 129 for comparing (0.07 sec)
-
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* </pre> * * <p>This tests: * * <ul> * <li>comparing each object against itself returns true * <li>comparing each object against null returns false * <li>comparing each object against an instance of an incompatible class returns false * <li>comparing each pair of objects within the same equality group returns true * <li>comparing each pair of objects from different equality groups returns false
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 31 19:11:50 UTC 2023 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.isLessThan(0); Comparator<Bar> trueFirstComparator = comparing(Bar::isBaz, Booleans.trueFirst()); assertThat(trueFirstComparator.compare(trueBar, falseBar)).isLessThan(0); assertThat( ComparisonChain.start().compareFalseFirst(falseBar.isBaz(), trueBar.isBaz()).result()) .isLessThan(0); Comparator<Bar> falseFirstComparator = comparing(Bar::isBaz, Booleans.falseFirst());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 13:27:08 UTC 2024 - 7.5K bytes - Viewed (0) -
docs/en/docs/benchmarks.md
* If you are comparing Uvicorn, compare it against Daphne, Hypercorn, uWSGI, etc. Application servers. * **Starlette**:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
* </pre> * * <p>This tests: * * <ul> * <li>comparing each object against itself returns true * <li>comparing each object against null returns false * <li>comparing each object against an instance of an incompatible class returns false * <li>comparing each pair of objects within the same equality group returns true * <li>comparing each pair of objects from different equality groups returns false
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 31 19:11:50 UTC 2023 - 6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
import org.apache.maven.project.collector.RequestPomCollectionStrategy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static java.util.Comparator.comparing; /** * Builds the {@link ProjectDependencyGraph inter-dependencies graph} between projects in the reactor. */ @Named(GraphBuilder.HINT) @Singleton public class DefaultGraphBuilder implements GraphBuilder {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Collections.singleton; import static java.util.Comparator.comparing; import static java.util.Comparator.naturalOrder; import static java.util.Comparator.reverseOrder; import com.google.common.annotations.GwtCompatible; import com.google.common.testing.EqualsTester;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
} } /** * 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 */ public static Comparator<Boolean> trueFirst() { return BooleanComparator.TRUE_FIRST; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 20.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
} } /** * 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 */ public static Comparator<Boolean> trueFirst() { return BooleanComparator.TRUE_FIRST; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 20.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
return compile(binding).get(); } private static Comparator<Binding<?>> getBindingComparator() { Comparator<Binding<?>> comparing = Comparator.comparing(Binding::getPriority); return comparing.reversed(); } private <T> boolean isPlexusBean(BeanEntry<Annotation, T> entry) { try { if ("org.eclipse.sisu.inject.LazyBeanEntry"
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
* then comparing those results using {@code this}. For example, to compare objects by their * string forms, in a case-insensitive manner, use: * * <pre>{@code * Ordering.from(String.CASE_INSENSITIVE_ORDER) * .onResultOf(Functions.toStringFunction()) * }</pre> * * <p><b>Java 8+ users:</b> Use {@code Comparator.comparing(function, thisComparator)} instead
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.4K bytes - Viewed (0)