Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 836 for IsEmpty (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      }
    
      public void testEmptyRangeSubMultiset(SortedMultiset<E> multiset) {
        assertTrue(multiset.isEmpty());
        assertEquals(0, multiset.size());
        assertEquals(0, multiset.toArray().length);
        assertTrue(multiset.entrySet().isEmpty());
        assertFalse(multiset.iterator().hasNext());
        assertEquals(0, multiset.entrySet().size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

                    fileAuthenticationService.getFileAuthenticationList(fileAuthenticationPager)); // page navi
            RenderDataUtil.register(data, "displayCreateLink", !crawlingConfigHelper.getAllFileConfigList(false, false, false, null).isEmpty());
            // restore from pager
            copyBeanToBean(fileAuthenticationPager, form, op -> op.include("id"));
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top