Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,792 for isinstance (0.04 sec)

  1. guava-tests/test/com/google/common/base/OptionalTest.java

        assertEquals("a", Optional.of("a").or(Suppliers.ofInstance("fallback")));
      }
    
      public void testOr_supplier_absent() {
        assertEquals("fallback", Optional.absent().or(Suppliers.ofInstance("fallback")));
      }
    
      public void testOr_nullSupplier_absent() {
        Supplier<Object> nullSupplier = (Supplier<Object>) Suppliers.<@Nullable Object>ofInstance(null);
        Optional<Object> absentOptional = Optional.absent();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

        }
    
        @Test
        void close_shouldClosePolicySuccessfully() throws IOException {
            // Arrange
            // First, successfully create an LsaPolicyHandle instance
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0;
                return null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/EqualsTester.java

                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

         */
        public CrawlerPooledObjectFactory() {
            // Default constructor for DI
        }
    
        /**
         * Creates a new object instance from the crawler container.
         *
         * @return A new instance of the component specified by componentName
         * @throws Exception if the component cannot be created
         */
        @Override
        @SuppressWarnings("unchecked")
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/BaseContextTest.java

        }
    
        @Test
        @DisplayName("getConfig should return the provided configuration")
        void testGetConfig() {
            // When
            Configuration config = context.getConfig();
    
            // Then
            assertSame(mockConfig, config, "Should return the same configuration instance");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

                throw new SMBProtocolDecodingException();
            }, "Should be throwable via assertThrows");
            assertTrue(thrown instanceof CIFSException, "Thrown instance should also be CIFSException subtype");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "hello", " ", "unicode-∑" })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

         * @return this builder instance for method chaining
         */
        public ExtractorBuilder mimeType(final String mimeType) {
            this.mimeType = mimeType;
            return this;
        }
    
        /**
         * Sets the filename of the content to extract.
         *
         * @param filename the filename to set
         * @return this builder instance for method chaining
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/UploadForm.java

     */
    public class UploadForm {
    
        /**
         * The dictionary ID that identifies which Kuromoji dictionary configuration to update.
         * This ID corresponds to a specific Kuromoji dictionary instance in the system.
         */
        @Required
        public String dictId;
    
        /**
         * The multipart file containing the Kuromoji user dictionary to be uploaded.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java

     *
     * @author Mike Ward
     */
    @GwtCompatible
    final class EmptyImmutableSetMultimap extends ImmutableSetMultimap<Object, Object> {
      static final EmptyImmutableSetMultimap INSTANCE = new EmptyImmutableSetMultimap();
    
      private EmptyImmutableSetMultimap() {
        super(ImmutableMap.of(), 0, null);
      }
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top