Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,905 for instanceof (0.05 sec)

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

            if (src == null) {
                return null;
            }
            if (src instanceof java.sql.Date) {
                return (java.sql.Date) src;
            }
            if (src instanceof Date) {
                return new java.sql.Date(((Date) src).getTime());
            }
            if (src instanceof Calendar) {
                return new java.sql.Date(((Calendar) src).getTimeInMillis());
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            QueryBuilder queryBuilder = queryCommand.convertWildcardQuery(queryContext, wildcardQuery, 1.0f);
            assertNotNull(queryBuilder);
            assertTrue(queryBuilder instanceof DefaultQueryBuilder);
    
            // Query was processed successfully
        }
    
        public void test_convertWildcardQuery_defaultField_dismax() throws Exception {
            // Test with default field
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            return 0;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            if (this.server.security == SmbConstants.SECURITY_SHARE && this.ctx.getCredentials() instanceof NtlmPasswordAuthenticator) {
                final NtlmPasswordAuthenticator pwAuth = (NtlmPasswordAuthenticator) this.ctx.getCredentials();
                if (isExternalAuth(pwAuth)) {
                    this.passwordLength = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

         * @return The {@literal byte} array
         */
        public static byte[] toBinary(final Object o) {
            if (o instanceof byte[]) {
                return (byte[]) o;
            } else if (o == null) {
                return null;
            } else {
                assertArgument("o", o instanceof String, o.getClass().toString());
                return ((String) o).getBytes();
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeParameter.java

        Type type = capture();
        checkArgument(type instanceof TypeVariable, "%s should be a type variable.", type);
        this.typeVariable = (TypeVariable<?>) type;
      }
    
      @Override
      public final int hashCode() {
        return typeVariable.hashCode();
      }
    
      @Override
      public final boolean equals(@Nullable Object o) {
        if (o instanceof TypeParameter) {
          TypeParameter<?> that = (TypeParameter<?>) o;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

            List<Key> serverKeys = new ArrayList<>();
    
            Set<Object> serverPrivateCredentials = this.subject.getPrivateCredentials();
            for (Object credential : serverPrivateCredentials) {
                if (credential instanceof KerberosKey) {
                    serverKeys.add((KerberosKey) credential);
                }
            }
    
            return serverKeys.toArray(new KerberosKey[0]);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        void testInheritance() {
            // Verify that SmbComNtTransaction extends SmbComTransaction
            assertTrue(transaction instanceof SmbComTransaction);
    
            // Verify that it's also a ServerMessageBlock
            assertTrue(transaction instanceof ServerMessageBlock);
        }
    
        @Test
        @DisplayName("Test createCancel with zero MID")
        void testCreateCancelWithZeroMid() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            if (e.getCause() instanceof MultipleArtifactsNotFoundException) {
                return true;
            }
            return e.getCause() instanceof org.eclipse.aether.resolution.ArtifactResolutionException
                    && e.getCause().getCause() instanceof ArtifactNotFoundException;
        }
    
        private boolean isNonTransferablePom(Exception e) {
            if (e.getCause() instanceof ArtifactResolutionException) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            LdapOperationException exception = new LdapOperationException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialVersionUID() {
            // Test that exception is serializable
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top