- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 46 for isAssignableFrom (0.24 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Aug 02 08:22:42 UTC 2018 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* 代入先のクラス。{@literal null}であってはいけません * @param fromClass * 代入元のクラス。{@literal null}であってはいけません * @return 代入可能かどうか * @see Class#isAssignableFrom(Class) */ public static boolean isAssignableFrom(final Class<?> toClass, Class<?> fromClass) { assertArgumentNotNull("toClass", toClass); assertArgumentNotNull("fromClass", fromClass);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 27.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
T proxy = Reflection.newProxy(interfaceType, this); T wrapper = wrapperFunction.apply(proxy); boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType()); try { Object actualReturnValue = method.invoke(wrapper, passedArgs); // If we think this might be a 'chaining' call then we allow the return value to either
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
* * @see jcifs.SmbPipeHandle#unwrap(java.lang.Class) */ @SuppressWarnings ( "unchecked" ) @Override public <T extends SmbPipeHandle> T unwrap ( Class<T> type ) { if ( type.isAssignableFrom(this.getClass()) ) { return (T) this; } throw new ClassCastException(); } /** * {@inheritDoc} * * @see jcifs.SmbPipeHandle#getPipe() */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Apr 13 17:05:22 UTC 2020 - 10.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
T proxy = Reflection.newProxy(interfaceType, this); T wrapper = wrapperFunction.apply(proxy); boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType()); try { Object actualReturnValue = method.invoke(wrapper, passedArgs); // If we think this might be a 'chaining' call then we allow the return value to either
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
private ImmutableList<Invokable<?, ?>> getFactoriesToTest() { ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder(); for (Invokable<?, ?> factory : factories) { if (returnTypeToTest.isAssignableFrom(factory.getReturnType().getRawType())) { builder.add(factory); } } ImmutableList<Invokable<?, ?>> factoriesToTest = builder.build(); Assert.assertFalse( "No "
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
| InvocationTargetException e) { return null; } } @VisibleForTesting static boolean isCheckedException(Class<? extends Exception> type) { return !RuntimeException.class.isAssignableFrom(type); } @VisibleForTesting static void checkExceptionClassValidity(Class<? extends Exception> exceptionClass) { checkArgument( isCheckedException(exceptionClass),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* * @see jcifs.Address#unwrap(java.lang.Class) */ @SuppressWarnings ( "unchecked" ) @Override public <T extends Address> T unwrap ( Class<T> type ) { if ( type.isAssignableFrom(this.getClass()) ) { return (T) this; } return null; } /** * Guess next called name to try for session establishment. These
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
* * @see jcifs.DfsReferralData#unwrap(java.lang.Class) */ @SuppressWarnings ( "unchecked" ) @Override public <T extends DfsReferralData> T unwrap ( Class<T> type ) { if ( type.isAssignableFrom(this.getClass()) ) { return (T) this; } throw new ClassCastException(); } @Override public long getExpiration () { return this.expiration; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:13:49 UTC 2021 - 11K bytes - Viewed (0)