Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 838 for useEmpty (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_clear() {
        getMultiset().entrySet().clear();
        assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testEntrySet_iteratorRemovePropagates() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable K higherKey(K key) {
        return delegate.higherKey(checkValid(key));
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public NavigableSet<K> keySet() {
        return navigableKeySet();
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

          return new StandardElementSet();
        }
    
        @Override
        public Iterator<T> iterator() {
          return standardIterator();
        }
    
        @Override
        public boolean isEmpty() {
          return standardIsEmpty();
        }
    
        @Override
        public int size() {
          return standardSize();
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

         * @throws IllegalArgumentException if duplicate keys were added
         */
        public ImmutableClassToInstanceMap<B> build() {
          ImmutableMap<Class<? extends B>, B> map = mapBuilder.buildOrThrow();
          if (map.isEmpty()) {
            return of();
          } else {
            return new ImmutableClassToInstanceMap<>(map);
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
      static void assertEmpty(Multimap<?, ?> multimap) {
        if (!multimap.isEmpty()) {
          fail("Not true that " + multimap + " is empty");
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 23 04:28:13 UTC 2015
    - 1.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector();
            List<Profile> active = selector.getActiveProfiles(profiles, context, problems);
            assertTrue(active.isEmpty());
            assertEquals(1, problems.getErrors().size());
            assertEquals(
                    "Failed to determine activation for profile one: BOOM",
                    problems.getErrors().get(0));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/GeneralTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(!res.isEmpty());
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

        @SuppressWarnings("unchecked")
        public Violation maybeViolation(final JApiCompatibility member) {
            if (!member.isBinaryCompatible()) {
                if ((member instanceof JApiClass) && (member.getCompatibilityChanges().isEmpty())) {
                    // A member of the class breaks binary compatibility.
                    // That will be handled when the member is passed to `maybeViolation`.
                    return null;
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(nothing).containsExactly("").inOrder();
      }
    
      public void testCharacterSplitOnEmptyStringOmitEmptyStrings() {
        assertThat(Splitter.on('.').omitEmptyStrings().split("")).isEmpty();
      }
    
      public void testCharacterSplitOnOnlyDelimiter() {
        Iterable<String> blankblank = Splitter.on('.').split(".");
        assertThat(blankblank).containsExactly("", "").inOrder();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        assertThat(network.edgesConnecting("A", "A")).containsExactly("AA");
        assertThat(network.edgesConnecting("A", "B")).containsExactly("AB");
        assertThat(network.edgesConnecting("B", "A")).isEmpty();
      }
    
      @Test
      public void edgesConnecting_undirected() {
        MutableNetwork<String, String> mutableNetwork =
            NetworkBuilder.undirected().allowsSelfLoops(true).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
Back to top