- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 1,878 for instanceOf (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
} @Test public void test_instanceOf() { // Test that exception is instance of RuntimeException DictionaryExpiredException exception = new DictionaryExpiredException(); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test public void test_throwAndCatch() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
ThemeException exception = new ThemeException("Test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test public void test_stackTrace() { // Test that stack trace is properly captured
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
return oldDocList; } @Override public long deleteByQuery(final String index, final QueryBuilder queryBuilder) { if (queryBuilder instanceof final TermsQueryBuilder termsQueryBuilder) { termsQueryBuilder.values().stream().forEach(o -> deletedDocIdList.add(o.toString())); } return deletedDocIdList.size();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 29.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
assertTrue(fullSizeInfo instanceof FileSystemInformation); // All should be AllocInfo assertTrue(smbInfo instanceof AllocInfo); assertTrue(sizeInfo instanceof AllocInfo); assertTrue(fullSizeInfo instanceof AllocInfo); } } @Nested @DisplayName("Performance and Boundary Tests") class PerformanceTests { @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
TransportException exception = new TransportException("Test"); // Verify the exception hierarchy assertTrue(exception instanceof IOException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test @DisplayName("Should preserve message through exception chain") void testMessagePreservation() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// When RuntimeCIFSException exception = new RuntimeCIFSException("Test"); // Then assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test @DisplayName("Should support exception chaining") void testExceptionChaining() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
final JobProcessingException exception = new JobProcessingException("Test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test public void test_stackTrace() { // Test that stack trace is properly captured
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
guava/src/com/google/common/base/MoreObjects.java
// Put types estimated to be the most frequent first. if (value instanceof CharSequence) { return ((CharSequence) value).length() == 0; } else if (value instanceof Collection) { return ((Collection<?>) value).isEmpty(); } else if (value instanceof Map) { return ((Map<?, ?>) value).isEmpty(); } else if (value instanceof java.util.Optional) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Predicates.java
* example, {@code instanceOf(ArrayList.class)} will yield different results for the two equal * instances {@code Lists.newArrayList(1)} and {@code Arrays.asList(1)}. * * <p><b>Discouraged:</b> Prefer using {@code clazz::isInstance} or {@code x -> x instanceof * Clazz}, but note that lambdas do not have human-readable {@link #toString()} representationsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0)