Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 746 for IsEmpty (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/SetViewTest.java

        assertThat(union(emptySet(), emptySet()).immutableCopy()).isEmpty();
        assertThat(intersection(newHashSet(1, 2), newHashSet(3, 4)).immutableCopy()).isEmpty();
        assertThat(difference(newHashSet(1, 2), newHashSet(1, 2)).immutableCopy()).isEmpty();
        assertThat(symmetricDifference(newHashSet(1, 2), newHashSet(1, 2)).immutableCopy()).isEmpty();
      }
    
      public void testImmutableCopy() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                buf.append(",\"related_contents\":");
                buf.append(escapeJson(relatedContents));
                buf.append(',');
                buf.append("\"data\":[");
                if (!documentItems.isEmpty()) {
                    boolean first1 = true;
                    for (final Map<String, Object> document : documentItems) {
                        if (!first1) {
                            buf.append(',');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

          Multimap<? extends K, ? extends V> multimap,
          @Nullable Comparator<? super V> valueComparator) {
        checkNotNull(multimap); // eager for GWT
        if (multimap.isEmpty() && valueComparator == null) {
          return of();
        }
    
        if (multimap instanceof ImmutableSetMultimap) {
          @SuppressWarnings("unchecked") // safe since multimap is not writable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/MultiChannelManager.java

                }
            }
    
            public void removeChannel(ChannelInfo channel) {
                channels.remove(channel);
                if (primaryChannel == channel && !channels.isEmpty()) {
                    primaryChannel = channels.get(0);
                }
            }
    
            public ChannelInfo getPrimaryChannel() {
                return primaryChannel;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

        public ImmutableBiMap<K, V> build() {
          return buildOrThrow();
        }
    
        @Override
        public ImmutableBiMap<K, V> buildOrThrow() {
          ImmutableMap<K, V> map = super.buildOrThrow();
          if (map.isEmpty()) {
            return of();
          }
          return new RegularImmutableBiMap<K, V>(super.buildOrThrow());
        }
    
        @Override
        ImmutableBiMap<K, V> buildJdkBacked() {
          return build();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        @Override
        public Artifact createPluginArtifact(Plugin plugin) {
            VersionRange versionRange;
            try {
                String version = plugin.getVersion();
                if (version == null || version.isEmpty()) {
                    version = "RELEASE";
                }
                versionRange = VersionRange.createFromVersionSpec(version);
            } catch (InvalidVersionSpecificationException e) {
                return null;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

            }
    
            final Set<String> matchedLabelSet = ComponentUtil.getLabelTypeHelper().getMatchedLabelValueSet(url);
            if (!matchedLabelSet.isEmpty()) {
                final Set<String> newLabelSet = new HashSet<>();
                final String[] oldLabels = DocumentUtil.getValue(dataMap, fessConfig.getIndexFieldLabel(), String[].class);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. 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(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

      public void testEmptyMap() {
        Map<Character, String> map = ImmutableMap.of();
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Non-null array of zero length.
        assertThat(fem.getReplacementArray()).isEmpty();
      }
    
      public void testMapLength() {
        Map<Character, String> map =
            ImmutableMap.of(
                'a', "first",
                'z', "last");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null
                    && profile.getActivation().getJdk() != null
                    && !profile.getActivation().getJdk().isEmpty();
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top