- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 2,060 for instanceOf (0.07 sec)
-
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
WebApiException exception = new WebApiException(500, "Test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_serializable() { // Test that the exception has serialVersionUID
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
} // same value. below comes before above return Boolean.compare(this instanceof AboveValue, that instanceof AboveValue); } C endpoint() { return endpoint; } @SuppressWarnings("unchecked") // catching CCE @Override public boolean equals(@Nullable Object obj) { if (obj instanceof Cut) { // It might not really be a Cut<C>, but we'll catch a CCE if it's not
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
assertThat(multimap.get("b")).containsExactly(3, 6).inOrder(); assertFalse(multimap.get("a") instanceof ImmutableSortedSet); assertFalse(multimap.get("x") instanceof ImmutableSortedSet); assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet); } public void testBuilderOrderKeysByDuplicates() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
// Should be instance of RuntimeException assertTrue(exception instanceof RuntimeException); // Should be instance of Exception assertTrue(exception instanceof Exception); // Should be instance of Throwable assertTrue(exception instanceof Throwable); // Should not require try-catch (unchecked exception)
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeParameter.java
Type type = capture(); checkArgument(type instanceof TypeVariable, "%s should be a type variable.", type); this.typeVariable = (TypeVariable<?>) type; } @Override public final int hashCode() { return typeVariable.hashCode(); } @Override public final boolean equals(@Nullable Object o) { if (o instanceof TypeParameter) { TypeParameter<?> that = (TypeParameter<?>) o;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
return exception instanceof UnsupportedOperationException || exception instanceof IllegalStateException; } }; static final PermittedMetaException UOE = new PermittedMetaException("UnsupportedOperationException") { @Override boolean isPermitted(Exception exception) { return exception instanceof UnsupportedOperationException; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
// The exception could be PACDecodingException or NullPointerException assertTrue(exception instanceof PACDecodingException || exception instanceof NullPointerException, "The exception should be either PACDecodingException or NullPointerException."); if (exception instanceof PACDecodingException) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
*/ private boolean isRecoverableError(Exception error) { // Timeout errors are often recoverable if (error instanceof SocketTimeoutException) { return true; } // Some socket errors might be recoverable if (error instanceof SocketException) { String message = error.getMessage(); if (message != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CartesianList.java
private int getAxisIndexForProductIndex(int index, int axis) { return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size(); } @Override public int indexOf(@Nullable Object o) { if (!(o instanceof List)) { return -1; } List<?> list = (List<?>) o; if (list.size() != axes.size()) { return -1; } ListIterator<?> itr = list.listIterator(); int computedIndex = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
for (Collection<V> valueCollection : multimap().asMap().values()) { assertTrue(valueCollection instanceof Set); } } public void testAsMapGetImplementsSet() { for (K key : multimap().keySet()) { assertTrue(multimap().asMap().get(key) instanceof Set); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemoveImplementsSet() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0)