Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,868 for instanceOf (0.21 sec)

  1. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                return null;
            }
            if (src.getClass() == Date.class) {
                return (Date) src;
            }
            if (src instanceof Date) {
                return new Date(((Date) src).getTime());
            }
            if (src instanceof Calendar) {
                return new Date(((Calendar) src).getTimeInMillis());
            }
            final String str = src.toString();
            if (isEmpty(str)) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/CopyUtil.java

            assertArgumentNotNull("out", out);
    
            if (in instanceof FileInputStream) {
                if (out instanceof FileOutputStream) {
                    return copyInternal((FileInputStream) in, (FileOutputStream) out);
                }
                return copyInternal((FileInputStream) in, wrap(out));
            }
            if (out instanceof FileOutputStream) {
                return copyInternal(wrap(in), (FileOutputStream) out);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Iterables.java

        if (iterable instanceof Collection) {
          Collection<? extends T> c = (Collection<? extends T>) iterable;
          if (c.isEmpty()) {
            return defaultValue;
          } else if (iterable instanceof List) {
            return getLastInNonemptyList((List<? extends T>) iterable);
          } else if (iterable instanceof SortedSet) {
            return ((SortedSet<? extends T>) iterable).last();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                    }
    
                } else if (cred instanceof byte[]) {
                    this.blob = (byte[]) cred;
                } else {
                    throw new SmbException("Unsupported credential type " + (cred != null ? cred.getClass() : "NULL"));
                }
            } else if (server.security == SmbConstants.SECURITY_SHARE) {
                if (!(cred instanceof final NtlmPasswordAuthenticator a)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        @Override
        public void prepare(final CommonServerMessageBlockRequest next) {
            if (isReceived() && next instanceof RequestWithFileId) {
                ((RequestWithFileId) next).setFileId(this.fileId);
            }
            super.prepare(next);
        }
    
        /**
         * Get the oplock level granted by the server
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. android/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)
  7. 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);
        }
    
        public void test_stackTrace() {
            // Create a ServletException with a specific message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            JobNotFoundException exception = new JobNotFoundException("test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialization() {
            // Test that the exception has serialVersionUID defined
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        assertTrue(multimap.keySet() instanceof SortedSet);
        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
      public void testTreeKeys_gwtCompatible() {
        ListMultimap<String, Integer> multimap =
            rawtypeToWildcard(MultimapBuilder.treeKeys()).arrayListValues().<String, Integer>build();
        assertTrue(multimap.keySet() instanceof SortedSet);
        assertTrue(multimap.asMap() instanceof SortedMap);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. 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)
Back to top