- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 127 for identify (0.04 sec)
-
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
public int hashCode() { return identity().hashCode(); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof DummyHandler) { DummyHandler that = (DummyHandler) obj; return identity().equals(that.identity()); } else { return false; } } private DummyProxy identity() { return DummyProxy.this; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
new EqualsTester() .addEqualityGroup( Equivalence.identity().onResultOf(Functions.toStringFunction()), Equivalence.identity().onResultOf(Functions.toStringFunction())) .addEqualityGroup(Equivalence.equals().onResultOf(Functions.toStringFunction())) .addEqualityGroup(Equivalence.identity().onResultOf(Functions.identity())) .testEquals(); } public void testEquivalentTo() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
new EqualsTester() .addEqualityGroup( Equivalence.identity().onResultOf(Functions.toStringFunction()), Equivalence.identity().onResultOf(Functions.toStringFunction())) .addEqualityGroup(Equivalence.equals().onResultOf(Functions.toStringFunction())) .addEqualityGroup(Equivalence.identity().onResultOf(Functions.identity())) .testEquals(); } public void testEquivalentTo() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
public void testIdentity_same() { Function<@Nullable String, @Nullable String> identity = Functions.identity(); assertNull(identity.apply(null)); assertSame("foo", identity.apply("foo")); } public void testIdentity_notSame() { Function<Long, Long> identity = Functions.identity(); assertNotSame(new Long(135135L), identity.apply(new Long(135135L))); } @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
assertSame(stringIdentityConverter, stringIdentityConverter.reverse()); assertSame(STR_TO_LONG, stringIdentityConverter.andThen(STR_TO_LONG)); assertSame(STR_VAL, stringIdentityConverter.convert(STR_VAL)); assertSame(STR_VAL, stringIdentityConverter.reverse().convert(STR_VAL)); assertEquals("Converter.identity()", stringIdentityConverter.toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.20.md
- Kube-apiserver now maintains a Lease object to identify itself: - The feature is under feature gate `APIServerIdentity`. - Two flags are added to kube-apiserver: `identity-lease-duration-seconds`, `identity-lease-renew-interval-seconds` ([#95533](https://github.com/kubernetes/kubernetes/pull/95533), [@roycaihw](https://github.com/roycaihw)) [SIG API Machinery]
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Jan 19 21:05:45 UTC 2022 - 409K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
public void testIdentity_same() { Function<@Nullable String, @Nullable String> identity = Functions.identity(); assertNull(identity.apply(null)); assertSame("foo", identity.apply("foo")); } public void testIdentity_notSame() { Function<Long, Long> identity = Functions.identity(); assertNotSame(new Long(135135L), identity.apply(new Long(135135L))); } @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java
assertFalse(isNotNull.apply(null)); } public void test_apply_boolean() { BooleanFunction<Boolean> identity = b -> b != null && b; assertTrue(identity.apply(true)); assertFalse(identity.apply(false)); assertFalse(identity.apply(null)); } public void test_lambda_expression() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMaker.java
* equals} method) to determine equality for keys or values. However, if {@link #weakKeys} was * specified, the map uses identity ({@code ==}) comparisons instead for keys. Likewise, if {@link * #weakValues} was specified, the map uses identity comparisons for values. * * <p>The view collections of the returned map have <i>weakly consistent iterators</i>. This means
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
// available in the repository. val runRequireString = REQUIRED_BUNDLES.joinToString(separator = ",") { "osgi.identity;filter:='(osgi.identity=$it)'" } val bndEditModel = BndEditModel(workspace).apply { // Temporary project to satisfy bnd API. project = Project(workspace, workspaceDir.toFile()) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0)