- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,610 for instanceof (0.17 seconds)
-
src/test/java/org/codelibs/fess/util/DocListTest.java
} @Test public void test_inheritance() { DocList docList = new DocList(); assertTrue(docList instanceof java.util.ArrayList); assertTrue(docList instanceof java.util.List); assertTrue(docList instanceof java.util.Collection); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
// Verify that ContentNotFoundException is an instance of FessSystemException String parentUrl = "http://example.com/parent"; String url = "http://example.com/child"; ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java
final String mimeType; if (response instanceof HtmlResponse) { mimeType = "text/html"; } else if (response instanceof JsonResponse) { mimeType = "application/json"; } else if (response instanceof XmlResponse) { mimeType = "text/xml"; } else if (response instanceof StreamResponse) { mimeType = "application/octet-stream";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
Object deserialized = serializer.fromBinaryToObject(serialized); assertNotNull(deserialized, "Deserialized object should not be null"); assertTrue("Deserialized object should be a List", deserialized instanceof List); @SuppressWarnings("unchecked") List<String> deserializedList = (List<String>) deserialized; assertEquals("List size should match", original.size(), deserializedList.size());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
guava/src/com/google/common/base/Functions.java
*/ public static Function<Object, String> toStringFunction() { return ToStringFunction.INSTANCE; } // enum singleton pattern private enum ToStringFunction implements Function<Object, String> { INSTANCE; @Override public String apply(Object o) { checkNotNull(o); // eager for GWT. return o.toString(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
ServletRuntimeException runtimeException = new ServletRuntimeException(servletException); // Verify it's an instance of RuntimeException assertTrue(runtimeException instanceof RuntimeException); assertTrue(runtimeException instanceof Exception); assertTrue(runtimeException instanceof Throwable); } @Test public void test_stackTrace() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
protected void tearDown() throws Exception { Throwable t = threadFailure.getAndSet(null); if (t != null) { if (t instanceof Error) { throw (Error) t; } else if (t instanceof RuntimeException) { throw (RuntimeException) t; } else if (t instanceof Exception) { throw (Exception) t; } else { AssertionFailedError afe = new AssertionFailedError(t.toString());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
if (keyObj instanceof final UrlQueue<?> urlQueue) { return escapeValue(urlQueue.getUrl()); } if (keyObj instanceof final StatsKeyObject statsKey) { return escapeValue(statsKey.getUrl()); } if (keyObj instanceof final String key) { return escapeValue(key); } if (keyObj instanceof final Number key) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 17.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.6K bytes - Click Count (0)