Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 746 for isEmpty (0.04 sec)

  1. guava/src/com/google/common/collect/RegularImmutableBiMap.java

      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return RegularImmutableMap.get(key, keyTable, mask);
      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        return isEmpty()
            ? ImmutableSet.<Entry<K, V>>of()
            : new ImmutableMapEntrySet.RegularEntrySet<K, V>(this, entries);
      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        return new ImmutableMapKeySet<>(this);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            // Execute
            CorsHandlerFactory factory = new CorsHandlerFactory();
    
            // Verify
            assertNotNull(factory);
            assertNotNull(factory.handerMap);
            assertTrue(factory.handerMap.isEmpty());
        }
    
        // Test implementation of CorsHandler for testing purposes
        private static class TestCorsHandler extends CorsHandler {
            private final String name;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

         * @param client The CrawlerClient instance.
         */
        public void addClient(final List<String> regexList, final CrawlerClient client) {
            if (regexList == null || regexList.isEmpty()) {
                throw new CrawlerSystemException("A regular expression list is null or empty.");
            }
            if (client == null) {
                throw new CrawlerSystemException("CrawlerClient is null.");
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Test with reflection to access protected method
            List<String> names = testFactory.loadDataStoreNameList();
            assertTrue(names.isEmpty() || names.size() >= 0); // Will be empty due to ResourceUtil static method
        }
    
        // Test loadDataStoreNameList with malformed XML
        public void test_loadDataStoreNameList_malformedXml() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read());
        assertFalse(CharSource.concat(c1, c2, c3).isEmpty());
    
        CharSource emptyConcat = CharSource.concat(CharSource.empty(), CharSource.empty());
        assertTrue(emptyConcat.isEmpty());
      }
    
      public void testConcat_infiniteIterable() throws IOException {
        CharSource source = CharSource.wrap("abcd");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            assertSame(pythonJob, result);
            assertEquals("test.py", pythonJob.filename);
        }
    
        // Test single argument addition
        public void test_arg() {
            assertTrue(pythonJob.argList.isEmpty());
    
            PythonJob result = pythonJob.arg("arg1");
    
            assertSame(pythonJob, result);
            assertEquals(1, pythonJob.argList.size());
            assertEquals("arg1", pythonJob.argList.get(0));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/DisposableUtil.java

            disposables.remove(disposable);
        }
    
        /**
         * Disposes of all registered resources.
         */
        public static synchronized void dispose() {
            while (!disposables.isEmpty()) {
                final Disposable disposable = disposables.removeLast();
                try {
                    disposable.dispose();
                } catch (final Throwable t) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertFalse(set.isEmpty(), "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testIsEmpty() {
        Iterable<String> emptyList = emptyList();
        assertTrue(Iterables.isEmpty(emptyList));
    
        Iterable<String> singletonList = singletonList("foo");
        assertFalse(Iterables.isEmpty(singletonList));
      }
    
      public void testSkip_simple() {
        Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

      @Suppress("UNCHECKED_CAST")
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerCertificates(): Array<Certificate> =
        if (certificates.isEmpty()) {
          throw SSLPeerUnverifiedException("peer not authenticated")
        } else {
          certificates as Array<Certificate>
        }
    
      @Throws(
        SSLPeerUnverifiedException::class,
      )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top