Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 992 for isEmpty (0.03 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(keySet).isEmpty();
    
        // add 0, 1, 2, 3, 4
        getAll(cache, asList(0, 1, 2, 3, 4));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4);
    
        // invalidate all
        cache.invalidateAll();
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).isEmpty();
    
        // add 5, 6, 7, 8, 9, 10, 11, 12
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        return Maps.immutableEntry(key, value);
      }
    
      private void assertMapSize(Map<?, ?> map, int size) {
        assertThat(map).hasSize(size);
        if (size > 0) {
          assertThat(map.isEmpty()).isFalse();
        } else {
          assertThat(map.isEmpty()).isTrue();
        }
        assertCollectionSize(map.keySet(), size);
        assertCollectionSize(map.entrySet(), size);
        assertCollectionSize(map.values(), size);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

                    "Middle resource should have the include");
            assertTrue(resourcesAfter.get(0).getIncludes().isEmpty(), "First resource should not have includes");
            assertTrue(resourcesAfter.get(2).getIncludes().isEmpty(), "Third resource should not have includes");
        }
    
        @Test
        void testUnderlyingSourceRootsUpdated() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         * @return the list of expired {@link TimeoutTask}
         */
        protected synchronized List<TimeoutTask> getExpiredTask() {
            final List<TimeoutTask> expiredTask = new ArrayList<>();
            if (timeoutTaskList.isEmpty()) {
                return expiredTask;
            }
            for (SLinkedList<TimeoutTask>.Entry e = timeoutTaskList.getFirstEntry(); e != null; e = e.getNext()) {
                final TimeoutTask task = e.getElement();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/ParamMap.java

            }
            return keyStr;
        }
    
        @Override
        public int size() {
            return parent.size();
        }
    
        @Override
        public boolean isEmpty() {
            return parent.isEmpty();
        }
    
        @Override
        public boolean containsKey(final Object key) {
            if (parent.containsKey(key)) {
                return true;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      }
    
      protected void assertGet(K key, Collection<? extends V> values) {
        assertEqualIgnoringOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualIgnoringOrder(values, multimap().asMap().get(key));
          assertFalse(multimap().isEmpty());
        } else {
          assertNull(multimap().asMap().get(key));
        }
    
        assertEquals(values.size(), multimap().get(key).size());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        GcFinalization.awaitDone(
            new FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return map.isEmpty();
              }
            });
        assertTrue(map.isEmpty());
      }
    
      // ----------------------------------------------------------------
      // Test that interrupts result in RuntimeException, not InterruptedException.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 17:02:07 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            }
    
            final List<Map<String, String>> itemList = new ArrayList<>();
            final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(searchRequestType);
            if (roleSet.isEmpty()) {
                for (final LabelTypeItem item : labelList) {
                    if (item.getPermissions().length == 0) {
                        final Map<String, String> map = new HashMap<>(2);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                }
            }
    
            if (!errors.isEmpty()) {
                def changes = errors + warnings
                return acceptOrReject(member, changes, Violation.error(member, changes.join(" ")))
            }
            if (!warnings.isEmpty()) {
                return Violation.warning(member, warnings.join(" "))
            }
            return null
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Collections2.java

          this.function = checkNotNull(function);
        }
    
        @Override
        public void clear() {
          fromCollection.clear();
        }
    
        @Override
        public boolean isEmpty() {
          return fromCollection.isEmpty();
        }
    
        @Override
        public Iterator<T> iterator() {
          return Iterators.transform(fromCollection.iterator(), function);
        }
    
        @Override
        public int size() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top