- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 2,446 for instanceOf (0.38 sec)
-
src/main/java/org/codelibs/core/lang/MethodUtil.java
return (T) method.invoke(target, args); } catch (final InvocationTargetException ex) { final Throwable t = ex.getCause(); if (t instanceof RuntimeException) { throw (RuntimeException) t; } if (t instanceof Error) { throw (Error) t; } throw new InvocationTargetRuntimeException(method.getDeclaringClass(), ex);
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
// Verify parent class initialization assertNotNull(msrpcShareGetInfo.info); assertTrue(msrpcShareGetInfo.info instanceof srvsvc.ShareInfo502); assertEquals(502, msrpcShareGetInfo.level); assertEquals(testServer, msrpcShareGetInfo.servername); assertEquals(testSharename, msrpcShareGetInfo.sharename); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
MyInt(int i) { this.i = i; } @Override public int hashCode() { return i; } @Override public boolean equals(Object o) { return o instanceof MyInt && ((MyInt) o).i == i; } } public void testAsFunction_simplistic() { String canonical = "a"; String not = new String("a"); Function<String, String> internerFunction =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
return Optional.ofNullable(userToolchainsSource); } @Override public boolean equals(Object o) { return o instanceof DefaultToolchainsBuilderRequest that && Objects.equals(installationToolchainsSource, that.installationToolchainsSource)
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
/** * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown. * * @param a the instance to convert; will never be null * @return the converted instance; <b>must not</b> be null */ @ForOverride protected abstract B doForward(A a);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
"Default message should match the class contract"); assertNull(ex.getCause(), "No cause expected from default constructor"); assertTrue(ex instanceof SmbException, "Should be an SmbException"); // toString should include the class name and the message String ts = ex.toString();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java
} return derivedSuites; } @Override protected SetTestSuiteBuilder<K> createDerivedKeySetSuite(TestSetGenerator<K> keySetGenerator) { return keySetGenerator instanceof TestSortedSetGenerator ? SortedSetTestSuiteBuilder.using((TestSortedSetGenerator<K>) keySetGenerator) : SetTestSuiteBuilder.using(keySetGenerator); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
return ImmutableSet.copyOf(elements); } public void testCreation_allDuplicates() { ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a")); assertTrue(set instanceof SingletonImmutableSet); assertEquals(Lists.newArrayList("a"), new ArrayList<>(set)); } public void testCreation_oneDuplicate() { // now we'll get the varargs overload
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
return new ForwardingRunnable(runnable) { @SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object o) { if (o instanceof ForwardingRunnable) { ForwardingRunnable that = (ForwardingRunnable) o; return runnable.equals(that.runnable); } return false; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0)