Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,776 for instanceOf (0.7 sec)

  1. 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() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

         */
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof UniAddress && addr.equals(((UniAddress) obj).addr);
        }
        /*
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.hashCode() == obj.hashCode();
        }
        */
    
        /**
         * Guess first called name to try for session establishment. This
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/EmptyIteratorTest.java

                    assertFalse(iterator2.hasNext(), "Second instance should have no elements");
                    assertFalse(iterator3.hasNext(), "Third instance should have no elements");
    
                    assertNull(iterator1.next(), "First instance next() should return null");
                    assertNull(iterator2.next(), "Second instance next() should return null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. 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)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

            partitions instanceof RandomAccess);
    
        assertTrue(
            "partition[0] should be RandomAccess, but not: " + partitions.get(0).getClass(),
            partitions.get(0) instanceof RandomAccess);
    
        assertTrue(
            "partition[1] should be RandomAccess, but not: " + partitions.get(1).getClass(),
            partitions.get(1) instanceof RandomAccess);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  7. 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);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly captured
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

                BUILDER builder = call.apply(esEntity);
                if (builder instanceof IndexRequestBuilder) {
                    if (builderEntityCall != null) {
                        builderEntityCall.callback(builder);
                    }
                    bulkBuilder.add((IndexRequestBuilder) builder);
                } else if (builder instanceof UpdateRequestBuilder) {
                    if (builderEntityCall != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/TimeConversionUtil.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.3K bytes
    - Viewed (0)
Back to top