- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,610 for instanceof (0.13 seconds)
-
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
assertTrue(exception instanceof java.io.Serializable); } @Test public void test_exceptionInheritance() { // Test that exception is a RuntimeException UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Platform.java
checkNotNull(t); // to satisfy NullPointerTester if (t instanceof InterruptedException) { currentThread().interrupt(); } } static void interruptCurrentThread() { Thread.currentThread().interrupt(); } static void rethrowIfErrorOtherThanStackOverflow(Throwable t) { checkNotNull(t); if (t instanceof Error && !(t instanceof StackOverflowError)) { throw (Error) t; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.hamcrest.CoreMatchers.instanceOf; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author wyukawa * */
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertEquals(2, factory.count); assertThat(multimap.toString()).isEqualTo("{BLUE=[3, 1, 4, 1], RED=[2, 7, 1, 8]}"); assertFalse(multimap.get(Color.BLUE) instanceof RandomAccess); assertTrue(multimap.keySet() instanceof SortedSet); assertTrue(multimap.asMap() instanceof SortedMap); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testNewListMultimapSerialization() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* this parameter is marked nullable, this method does nothing. * * @param instance the instance to invoke {@code method} on, or null if {@code method} is static */ public void testMethodParameter(@Nullable Object instance, Method method, int paramIndex) { method.setAccessible(true); testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass()); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
if (list instanceof ImmutableList) { // Avoid nullness warnings. List<?> reversed = ((ImmutableList<?>) list).reverse(); @SuppressWarnings("unchecked") List<T> result = (List<T>) reversed; return result; } else if (list instanceof ReverseList) { return ((ReverseList<T>) list).getForwardList(); } else if (list instanceof RandomAccess) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
private static void rethrow(ExecutionException e) throws ExecutionException { Throwable wrapper = e.getCause(); if (wrapper instanceof WrapperException) { Throwable cause = wrapper.getCause(); if (cause instanceof RuntimeException) { throw (RuntimeException) cause; } else if (cause instanceof Error) { throw (Error) cause; } } throw e; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 1.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
this.valueTypeOrObjectUnderJ2cl = valueTypeOrObjectUnderJ2cl; } static <K extends Enum<K>> Class<K> inferKeyTypeOrObjectUnderJ2cl(Map<K, ?> map) { if (map instanceof EnumBiMap) { return ((EnumBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl; } if (map instanceof EnumHashBiMap) { return ((EnumHashBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl; } checkArgument(!map.isEmpty());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumBiMap.java
this.valueTypeOrObjectUnderJ2cl = valueTypeOrObjectUnderJ2cl; } static <K extends Enum<K>> Class<K> inferKeyTypeOrObjectUnderJ2cl(Map<K, ?> map) { if (map instanceof EnumBiMap) { return ((EnumBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl; } if (map instanceof EnumHashBiMap) { return ((EnumHashBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl; } checkArgument(!map.isEmpty());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 6.2K bytes - Click Count (0)