Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 588 for isEmpty (0.13 sec)

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

        assertThat(set.tailSet(2, false)).containsExactly(3).inOrder();
        assertThat(set.tailSet(3, false)).isEmpty();
      }
    
      public void testTailSet_tooLarge() {
        assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).tailSet(4)).isEmpty();
      }
    
      public void testSubSet() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        if (ranges.isEmpty()) {
          return ImmutableMap.of();
        }
        RegularImmutableSortedSet<Range<K>> rangeSet =
            new RegularImmutableSortedSet<>(ranges, Range.<K>rangeLexOrdering());
        return new ImmutableSortedMap<>(rangeSet, values);
      }
    
      @Override
      public ImmutableMap<Range<K>, V> asDescendingMapOfRanges() {
        if (ranges.isEmpty()) {
          return ImmutableMap.of();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdater.java

            try {
                if (!directoriesToStopWatching.isEmpty()) {
                    if (!fileWatcher.stopWatching(directoriesToStopWatching)) {
                        LOGGER.debug("Couldn't stop watching directories: {}", directoriesToStopWatching);
                    }
                }
                if (!directoriesToStartWatching.isEmpty()) {
                    fileWatcher.startWatching(directoriesToStartWatching);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 04:59:05 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/BroadcastDispatch.java

        public static <T> BroadcastDispatch<T> empty(Class<T> type) {
            return new EmptyDispatch<T>(type);
        }
    
        public Class<T> getType() {
            return type;
        }
    
        public abstract boolean isEmpty();
    
        public abstract int size();
    
        public BroadcastDispatch<T> add(Dispatch<MethodInvocation> dispatch) {
            return add(dispatch, dispatch);
        }
    
        public BroadcastDispatch<T> add(T listener) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:00:00 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      protected AbstractMapBasedMultimap(Map<K, Collection<V>> map) {
        checkArgument(map.isEmpty());
        this.map = map;
      }
    
      /** Used during deserialization only. */
      final void setMap(Map<K, Collection<V>> map) {
        this.map = map;
        totalSize = 0;
        for (Collection<V> values : map.values()) {
          checkArgument(!values.isEmpty());
          totalSize += values.size();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/SLinkedList.java

         * 最初の要素を返します。
         *
         * @return 最初の要素
         */
        public E getFirst() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            return getFirstEntry().element;
        }
    
        /**
         * 最後の要素を返します。
         *
         * @return 最後の要素
         */
        public E getLast() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

                } else {
                    if (assertionError) {
                        placeholder = new PlaceholderAssertionError(type, message, getMessageExec, toString, toStringRuntimeExec, causes.isEmpty() ? null : causes.get(0));
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                    if (resultsPerPage instanceof Integer) {
                        form.num = (Integer) resultsPerPage;
                    }
                }
            }
    
            if (StringUtil.isBlank(form.q) && form.fields.isEmpty() && !form.hasConditionQuery()) {
                // redirect to index page
                form.q = null;
                return redirectToRoot();
            }
    
            try {
                buildFormParams(form);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/resolver/IdeDependencySet.java

                Set<ModuleComponentIdentifier> componentIdentifiers = getModuleComponentIdentifiers();
                if (componentIdentifiers.isEmpty()) {
                    return;
                }
    
                List<Class<? extends Artifact>> types = getAuxiliaryArtifactTypes(visitor);
                if (types.isEmpty()) {
                    return;
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            if (repo != null) {
                String id = repo.getId();
    
                if (id == null || id.isEmpty()) {
                    throw new InvalidRepositoryException("Repository identifier missing", "");
                }
    
                String url = repo.getUrl();
    
                if (url == null || url.isEmpty()) {
                    throw new InvalidRepositoryException("URL missing for repository " + id, id);
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 31.6K bytes
    - Viewed (0)
Back to top