Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 836 for IsEmpty (0.09 sec)

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

            if (entry.getKey().equals(key)) {
              expectedValues.add(entry.getValue());
            }
          }
    
          Collection<V> collection = multimap().asMap().get(key);
          if (expectedValues.isEmpty()) {
            assertNull(collection);
          } else {
            assertEqualIgnoringOrder(expectedValues, collection);
          }
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMultiset.java

    @ElementTypesAreNonnullByDefault
    abstract class AbstractMultiset<E extends @Nullable Object> extends AbstractCollection<E>
        implements Multiset<E> {
      // Query Operations
    
      @Override
      public boolean isEmpty() {
        return entrySet().isEmpty();
      }
    
      @Override
      public boolean contains(@CheckForNull Object element) {
        return count(element) > 0;
      }
    
      // Modification Operations
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.util.concurrent.CopyOnWriteArraySet
    import javax.net.ssl.SSLSocket
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

            final ListResultBean<FileConfig> list = fileConfigBhv.selectList(cb -> {
                cb.query().setName_Equal(name);
                cb.query().addOrderBy_SortOrder_Asc();
            });
            if (list.isEmpty()) {
                return OptionalEntity.empty();
            }
            return OptionalEntity.of(list.get(0));
        }
    
        public void store(final FileConfig fileConfig) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                    Dependency source,
                    boolean sourceDominant,
                    Map<Object, Object> context) {
                List<Exclusion> tgt = target.getExclusions();
                if (tgt.isEmpty()) {
                    List<Exclusion> src = source.getExclusions();
                    builder.exclusions(src);
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

                versions.addAll(versioning.getVersions());
                versioning.setVersions(new ArrayList<>(versions));
            }
    
            // just carry-on as-is
            if (!recessive.getPlugins().isEmpty()) {
                metadata.setPlugins(new ArrayList<>(recessive.getPlugins()));
            }
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                }
                String methodName = cells.get(0).getTextContent().trim();
                Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName);
                if (methods.isEmpty()) {
                    throw new RuntimeException(String.format("No metadata for method '%s.%s()'. Available methods: %s", classDoc.getName(), methodName, classDoc.getClassMetaData().getDeclaredMethodNames()));
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        return Maps.immutableEntry(key, value);
      }
    
      private void assertMapSize(Map<?, ?> map, int size) {
        assertEquals(size, map.size());
        if (size > 0) {
          assertFalse(map.isEmpty());
        } else {
          assertTrue(map.isEmpty());
        }
        assertCollectionSize(map.keySet(), size);
        assertCollectionSize(map.entrySet(), size);
        assertCollectionSize(map.values(), size);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractEntity.java

        }
    
        public void clearModifiedInfo() {
            __modifiedProperties.clear();
        }
    
        public boolean hasModification() {
            return !__modifiedProperties.isEmpty();
        }
    
        protected EntityModifiedProperties newModifiedProperties() {
            return new EntityModifiedProperties();
        }
    
        protected void registerModifiedProperty(String propertyName) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public @Nullable E higher(E e) {
        return delegate.higher(checkValid(e));
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public Iterator<E> iterator() {
        return delegate.iterator();
      }
    
      @Override
      public E last() {
        return delegate.last();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top