- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 374 for equivalents (0.14 seconds)
-
android/guava/src/com/google/common/collect/Ordering.java
* implicit). */ protected Ordering() {} // Instance-based factories (and any static equivalents) /** * Returns the reverse of this ordering; the {@code Ordering} equivalent to {@link * Collections#reverseOrder(Comparator)}. * * <p><b>Java 8+ users:</b> Use {@code thisComparator.reversed()} instead. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.5K bytes - Click Count (0) -
guava/src/com/google/common/net/InetAddresses.java
* * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the methods of this class never * cause DNS services to be accessed. For this reason, you should prefer these methods as much as * possible over their JDK equivalents whenever you are expecting to handle only IP address string * literals -- there is no blocking DNS penalty for a malformed string. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 47.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Equivalence.java
return new EquivalentToPredicate<>(this, target); } private static final class EquivalentToPredicate<T> implements Predicate<@Nullable T>, Serializable { private final Equivalence<T> equivalence; private final @Nullable T target; EquivalentToPredicate(Equivalence<T> equivalence, @Nullable T target) { this.equivalence = checkNotNull(equivalence);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 10 01:47:55 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the methods of this class never * cause DNS services to be accessed. For this reason, you should prefer these methods as much as * possible over their JDK equivalents whenever you are expecting to handle only IP address string * literals -- there is no blocking DNS penalty for a malformed string. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 47.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
* since the Equivalence base type now implements this logic itself */ assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null)); assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item)); assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item)); assertEquals(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/EquivalenceTester.java
* since the Equivalence base type now implements this logic itself */ assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null)); assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item)); assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item)); assertEquals(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null); assertFalse(isNull.apply("1")); assertFalse(isNull.apply("2")); assertTrue(isNull.apply(null)); new EqualsTester() .addEqualityGroup(equalTo1, Equivalence.equals().equivalentTo("1")) .addEqualityGroup(isNull) .addEqualityGroup(Equivalence.identity().equivalentTo("1")) .testEquals(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
* directly against {@code equals()} rather than through the {@code Equivalence}. */ private final Equivalence<? super T> equivalence; private final String relationshipName; private final String hashName; private final ItemReporter itemReporter; private final List<ImmutableList<T>> groups = new ArrayList<>(); RelationshipTester( Equivalence<? super T> equivalence, String relationshipName, String hashName,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FunctionalEquivalence.java
private final Equivalence<T> resultEquivalence; FunctionalEquivalence( Function<? super F, ? extends @Nullable T> function, Equivalence<T> resultEquivalence) { this.function = checkNotNull(function); this.resultEquivalence = checkNotNull(resultEquivalence); } @Override protected boolean doEquivalent(F a, F b) { return resultEquivalence.equivalent(function.apply(a), function.apply(b)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
"JAAS AppConfigurationEntry requires non-null options"); } @Test @DisplayName("Repeated calls return distinct entries with equivalent semantics") void repeatedCalls_distinctEntriesSameSemantics() { // Arrange Map<String, Object> opts = new HashMap<>(); opts.put("doNotPrompt", "true");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0)