Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,060 for instanceOf (0.04 sec)

  1. guava/src/com/google/common/base/Suppliers.java

          @ParametricNullness T instance) {
        return new SupplierOfInstance<>(instance);
      }
    
      private static final class SupplierOfInstance<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        @ParametricNullness final T instance;
    
        SupplierOfInstance(@ParametricNullness T instance) {
          this.instance = instance;
        }
    
        @Override
        @ParametricNullness
        public T get() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                }
                buf.append('}');
            } else if (obj instanceof Integer || obj instanceof Long || obj instanceof Float || obj instanceof Double) {
                buf.append(obj);
            } else if (obj instanceof Boolean) {
                buf.append(obj.toString());
            } else if (obj instanceof Date) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            // Then
            assertTrue(msrpcSamrConnect2 instanceof samr.SamrConnect2, "Should be an instance of samr.SamrConnect2");
            assertTrue(msrpcSamrConnect2 instanceof DcerpcMessage, "Should be an instance of DcerpcMessage");
        }
    
        @Test
        @DisplayName("Should have correct opnum from parent class")
        void shouldHaveCorrectOpnum() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                }
                if (value instanceof String || value == null) {
                    return new Pair<>(key, value);
                }
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
                        value = stream((String[]) value).get(stream -> stream.collect(Collectors.joining("\n")));
                    } else if (value instanceof List) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/util/LogStreamTest.java

            // Test getInstance when no instance has been set
            // Should default to System.err
            LogStream instance = LogStream.getInstance();
            assertNotNull(instance);
    
            // Getting instance again should return the same instance
            LogStream instance2 = LogStream.getInstance();
            assertSame(instance, instance2);
        }
    
        @Test
        void testSetInstanceAndGetInstance() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java

            SmbFilenameFilter filter = (d, n) -> {
                throw new SmbException("forced exception");
            };
            Exception e = assertThrows(Exception.class, () -> filter.accept(dir, "any"));
            assertTrue(e instanceof SmbException);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            params.put("param1", "value1");
            params.put("param2", 123);
    
            RescorerBuilder<?> result = ltrQueryRescorer.evaluate(params);
            assertNotNull(result);
            assertTrue(result instanceof QueryRescorerBuilder);
    
            QueryRescorerBuilder queryRescorerBuilder = (QueryRescorerBuilder) result;
            assertEquals(testWindowSize, queryRescorerBuilder.windowSize().intValue());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. android/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
    - 20.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

            IOException ioe = se;
            Throwable root = se.getCause();
            if (root instanceof TransportException) {
                ioe = (TransportException) root;
                root = ioe.getCause();
            }
            if (root instanceof InterruptedException) {
                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            CurlException exception = new CurlException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void testConstructorWithMessageAndCause() {
            String message = "Test error message";
            IOException cause = new IOException("IO error");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top