- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for isAssignableFrom (0.07 sec)
-
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
return (T) convertPrimitiveWrapper(arg); } else if (Number.class.isAssignableFrom(propertyType)) { return (T) convertNumber(arg); } else if (java.util.Date.class.isAssignableFrom(propertyType)) { return (T) convertDate(arg); } else if (Boolean.class.isAssignableFrom(propertyType)) { return (T) BooleanConversionUtil.toBoolean(arg);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should verify all implementations are AllocInfo") void testImplementationsAreAllocInfo() { assertTrue(AllocInfo.class.isAssignableFrom(SmbInfoAllocation.class)); assertTrue(AllocInfo.class.isAssignableFrom(FileFsSizeInformation.class));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
* * <p><b>Discouraged:</b> Prefer using {@code clazz::isAssignableFrom} or {@code x -> * clazz.isAssignableFrom(x)}, but note that lambdas do not have human-readable {@link * #toString()} representations and are not serializable. * * @since 20.0 (since 10.0 under the incorrect name {@code assignableFrom}) */ @J2ktIncompatible @GwtIncompatible // Class.isAssignableFrom
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
// When/Then - Verify the interface extends the expected interfaces assertTrue(CommonServerMessageBlock.class.isAssignableFrom(CommonServerMessageBlockRequest.class)); assertTrue(jcifs.util.transport.Request.class.isAssignableFrom(CommonServerMessageBlockRequest.class)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
class AutoCloseableContractTest { @Test @DisplayName("Should implement AutoCloseable interface") void shouldImplementAutoCloseable() { assertTrue(AutoCloseable.class.isAssignableFrom(SmbSession.class), "SmbSession should implement AutoCloseable interface"); } @Test @DisplayName("Should define close method that overrides AutoCloseable")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should implement Decodable interface through FileSystemInformation") void shouldImplementDecodableInterface() { // Verify that AllocInfo indirectly implements Decodable assertTrue(jcifs.Decodable.class.isAssignableFrom(AllocInfo.class)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
} assertThrows(ClassCastException.class, () -> { OtherPipeHandle result = target.unwrap(OtherPipeHandle.class); }); // Null input: document current behavior (NPE from isAssignableFrom) assertThrows(NullPointerException.class, () -> target.unwrap(null)); } @Test @DisplayName("getPipe, getPipeType, getUncPath delegate to underlying pipe") void testBasicAccessors() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* @param fromClass * The source class. Must not be {@literal null}. * @return Whether assignment is possible. * @see Class#isAssignableFrom(Class) */ public static boolean isAssignableFrom(final Class<?> toClass, Class<?> fromClass) { assertArgumentNotNull("toClass", toClass); assertArgumentNotNull("fromClass", fromClass);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 25.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0)