- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 1,928 for instanceof (0.2 sec)
-
android/guava/src/com/google/common/base/Equivalence.java
* identically to this equivalence. * * <p><b>Warning: do not depend</b> on the behavior of this method. * * <p>Historically, {@code Equivalence} instances in this library have implemented this method to * recognize certain cases where distinct {@code Equivalence} instances would in fact behave * identically. However, as code migrates to {@code java.util.function}, that behavior will * disappear. It is best not to depend on it. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 01:47:55 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ReverseOrdering.java
public int hashCode() { return -forwardOrder.hashCode(); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof ReverseOrdering) { ReverseOrdering<?> that = (ReverseOrdering<?>) object; return this.forwardOrder.equals(that.forwardOrder); } return false; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
return false; } PreauthIntegrityNegotiateContext rpc = null; for (final NegotiateContextRequest rnc : req.getNegotiateContexts()) { if (rnc instanceof PreauthIntegrityNegotiateContext) { rpc = (PreauthIntegrityNegotiateContext) rnc; } } if (rpc == null) { return false; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
@Override public V getValue() { return value; } @Override public boolean equals(@Nullable Object object) { // Cannot use key and value equivalence if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object; return key.equals(that.getKey()) && value.equals(that.getValue()); } return false; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
Smb2LockRequest lockRequest = new Smb2LockRequest(mockConfig, testFileId, locks); assertNotNull(lockRequest); assertTrue(lockRequest instanceof ServerMessageBlock2Request); assertTrue(lockRequest instanceof RequestWithFileId); } @Test @DisplayName("Should initialize with SMB2_LOCK command") void testCommandInitialization() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
} public void testFromNonFluentFuture() throws Exception { ListenableFuture<String> f = new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {}; verify(!(f instanceof FluentFuture)); assertThat(FluentFuture.from(f).get()).isEqualTo("a"); // TODO(cpovirk): Test forwarding more extensively. } public void testAddCallback() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
doAnswer(invocation -> { ServerMessageBlock request = invocation.getArgument(0); ServerMessageBlock response = invocation.getArgument(1); if (request instanceof SmbComTreeConnectAndX && response instanceof SmbComTreeConnectAndXResponse) { SmbComTreeConnectAndXResponse treeResponse = (SmbComTreeConnectAndXResponse) response; treeResponse.tid = 456;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/base/PairwiseEquivalence.java
for (T element : iterable) { hash = hash * 24943 + elementEquivalence.hash(element); } return hash; } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof PairwiseEquivalence) { @SuppressWarnings("unchecked") PairwiseEquivalence<Object, Object> that = (PairwiseEquivalence<Object, Object>) obj; return this.elementEquivalence.equals(that.elementEquivalence); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.4K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 07 11:47:42 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 4K bytes - Viewed (0)