- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,446 for instanceOf (0.16 sec)
-
android/guava/src/com/google/common/reflect/Types.java
* called on the {@code TypeVariable} instance has the same name as one of the public methods of * {@link TypeVariableImpl}, the proxy calls the same method on its instance of {@code * TypeVariableImpl}. Otherwise it throws {@link UnsupportedOperationException}; this should only * apply to {@code getAnnotatedBounds()}. This does mean that users on Java who obtain an instanceRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeVisitor.java
boolean succeeded = false; try { if (type instanceof TypeVariable) { visitTypeVariable((TypeVariable<?>) type); } else if (type instanceof WildcardType) { visitWildcardType((WildcardType) type); } else if (type instanceof ParameterizedType) { visitParameterizedType((ParameterizedType) type); } else if (type instanceof Class) { visitClass((Class<?>) type);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
*/ @Override public InetAddress toInetAddress() throws UnknownHostException { if (this.addr instanceof Address) { return ((Address) this.addr).toInetAddress(); } if (this.addr instanceof InetAddress) { return (InetAddress) this.addr; } return null; } /** * {@inheritDoc} *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
Collection<E> collection) { if (collection instanceof NavigableSet) { return Sets.unmodifiableNavigableSet((NavigableSet<E>) collection); } else if (collection instanceof SortedSet) { return Collections.unmodifiableSortedSet((SortedSet<E>) collection); } else if (collection instanceof Set) { return Collections.unmodifiableSet((Set<E>) collection);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 86.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
.addEqualityGroup(Predicates.instanceOf(Number.class)) .addEqualityGroup(Predicates.instanceOf(Float.class)) .testEquals(); } @J2ktIncompatible @GwtIncompatible // Predicates.instanceOf, SerializableTester public void testIsInstanceOf_serialization() { checkSerialization(Predicates.instanceOf(Integer.class)); } @J2ktIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java
removeAnnotationChanges(member); if ((member instanceof JApiClass) && member.getCompatibilityChanges().isEmpty()) { // A member of the class breaks binary compatibility. // That will be handled when the member is passed to `maybeViolation`. return null; } if (member instanceof JApiImplementedInterface) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// When RuntimeCIFSException exception = new RuntimeCIFSException("Test"); // Then assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test @DisplayName("Should support exception chaining") void testExceptionChaining() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
public void testFromClass_FileSystem() throws Exception { final Traverser traverser = TraversalUtil.getTraverser(DummyTest.class); assertThat(traverser, is(notNullValue())); assertThat(traverser instanceof FileSystemTraverser, is(true)); assertThat(traverser.isExistClass(DummyTest.class.getName()), is(true)); assertThat(traverser.isExistClass(TestCase.class.getName()), is(not(true)));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
} } private static DosFileFilter unwrapDOSFilter(final ResourceFilter ff) { if (ff instanceof ResourceFilterWrapper) { final SmbFileFilter sff = ((ResourceFilterWrapper) ff).getFileFilter(); if (sff instanceof DosFileFilter) { return (DosFileFilter) sff; } } return null; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
}); // Check that the root cause is CIFSException assertTrue(exception instanceof java.lang.reflect.InvocationTargetException); Throwable cause = ((java.lang.reflect.InvocationTargetException) exception).getCause(); assertTrue(cause instanceof CIFSException); assertTrue(cause.getMessage().contains("Failed to create multi-channel transport")); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0)