- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 1,789 for instanceof (0.15 seconds)
-
guava-tests/test/com/google/common/collect/ComparatorsTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
&& (service == null || service.startsWith("??") || this.service.equalsIgnoreCase(service)); } @Override public boolean equals(final Object obj) { if (obj instanceof final SmbTree tree) { return matches(tree.share, tree.service); } return false; } void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
// methods that access the same node(s) repeatedly, such as Graphs.removeEdgesConnecting(). this.nodeConnections = (nodeConnections instanceof TreeMap) ? new MapRetrievalCache<N, NetworkConnections<N, E>>(nodeConnections) : new MapIteratorCache<N, NetworkConnections<N, E>>(nodeConnections);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 6.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<Integer> source = asList(1, 2, 3).iterator(); Iterator<List<Integer>> partitions = Iterators.partition(source, 2); assertTrue(partitions.next() instanceof RandomAccess); assertTrue(partitions.next() instanceof RandomAccess); } public void testPaddedPartition_badSize() { Iterator<Integer> source = singletonIterator(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
} @CanIgnoreReturnValue @Override public Builder<E> addAll(Iterable<? extends E> elements) { if (elements instanceof Collection) { Collection<?> collection = (Collection<?>) elements; ensureRoomFor(collection.size()); if (collection instanceof ImmutableCollection) { ImmutableCollection<?> immutableCollection = (ImmutableCollection<?>) collection;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 21.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
} public static Optional<AccessorKey> maybeGetKeyOfOldAccessorOfUpgradedProperty(JApiCompatibility jApiCompatibility, ViolationCheckContext context) { if (!(jApiCompatibility instanceof JApiMethod) || ((JApiMethod) jApiCompatibility).getOldMethod().isEmpty()) { return Optional.empty(); } JApiMethod jApiMethod = (JApiMethod) jApiCompatibility;Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 9.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Tables.java
// needed for serialization AbstractCell() {} @Override public boolean equals(@Nullable Object obj) { if (obj == this) { return true; } if (obj instanceof Cell) { Cell<?, ?, ?> other = (Cell<?, ?, ?>) obj; return Objects.equals(getRowKey(), other.getRowKey()) && Objects.equals(getColumnKey(), other.getColumnKey())Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 25.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
item.hashCode(), item.hashCode()); if (!(item instanceof String)) { assertTrue( item + " must not be Object#equals to its Object#toString representation", !item.equals(item.toString())); } } } /** * Class used to test whether equals() correctly handles an instance of an incompatible class.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
private static class SingletonHolder { private static final SecurityAuditLogger INSTANCE = new SecurityAuditLogger(); } /** * Get the singleton instance * * @return SecurityAuditLogger instance */ public static SecurityAuditLogger getInstance() { return SingletonHolder.INSTANCE; } private SecurityAuditLogger() { // Initialize event countersCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
@DisplayName("TestLocking can be instantiated") void testInstantiation() { TestLocking t = new TestLocking(); assertNotNull(t, "TestLocking instance should not be null"); } @Test @DisplayName("Field values are independent across instances") void testIndependentInstances() { TestLocking t1 = new TestLocking(); TestLocking t2 = new TestLocking();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0)