Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 738 for isEmpty (0.05 seconds)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

            if (pluginGroups != null) {
                for (int i = 0; i < pluginGroups.size(); i++) {
                    String pluginGroup = pluginGroups.get(i).trim();
    
                    if (pluginGroup.isEmpty()) {
                        addViolation(
                                problems, Severity.ERROR, "pluginGroups.pluginGroup[" + i + "]", null, "must not be empty");
                    } else if (!ID_REGEX.matcher(pluginGroup).matches()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      }
    
      @Override
      public boolean isEmpty() {
        return false;
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method.
      public ContiguousSet<C> intersection(ContiguousSet<C> other) {
        checkNotNull(other);
        checkArgument(this.domain.equals(other.domain));
        if (other.isEmpty()) {
          return other;
        } else {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Lists.java

          fromList.subList(fromIndex, toIndex).clear();
        }
    
        @Override
        public int size() {
          return fromList.size();
        }
    
        @Override
        public boolean isEmpty() {
          return fromList.isEmpty();
        }
    
        @Override
        public ListIterator<T> listIterator(int index) {
          return new TransformedListIterator<F, T>(fromList.listIterator(index)) {
            @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 42.6K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          stackWithLastReturnedElementAtTop = null;
        }
    
        @Override
        public boolean hasNext() {
          return !nextElements.isEmpty();
        }
    
        @Override
        public boolean hasPrevious() {
          return !previousElements.isEmpty();
        }
    
        @Override
        public E next() {
          return transferElement(nextElements, previousElements);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

        return copyFromEntries(multiset.entrySet());
      }
    
      static <E> ImmutableMultiset<E> copyFromEntries(
          Collection<? extends Entry<? extends E>> entries) {
        if (entries.isEmpty()) {
          return of();
        } else {
          return RegularImmutableMultiset.create(entries);
        }
      }
    
      ImmutableMultiset() {}
    
      @Override
      public UnmodifiableIterator<E> iterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (onlyIfCached) append("only-if-cached, ")
            if (noTransform) append("no-transform, ")
            if (immutable) append("immutable, ")
            if (isEmpty()) return ""
            deleteRange(length - 2, length)
          }
        headerValue = result
      }
      return result
    }
    
    internal fun Long.commonClampToInt(): Int =
      when {
        this > Int.MAX_VALUE -> Int.MAX_VALUE
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        private static <T> List<T> copyList(List<T> original) {
            List<T> copy = null;
    
            if (original != null) {
                copy = new ArrayList<>();
    
                if (!original.isEmpty()) {
                    copy.addAll(original);
                }
            }
    
            return copy;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            if (request.getLocalRepositoryPath() != null) {
                localRepositoryPath = request.getLocalRepositoryPath().getAbsolutePath();
            }
    
            if (localRepositoryPath == null || localRepositoryPath.isEmpty()) {
                String path = request.getUserProperties().getProperty(Constants.MAVEN_USER_CONF);
                if (path == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  9. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

                  .copy(fileName = storyResourceName)
              result.add(story)
              i++
            }
          } finally {
            storyInputStream.close()
          }
        }
    
        if (result.isEmpty()) {
          // missing files
          result.add(Story.MISSING)
        }
    
        return result
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java

        }
    
        @Override
        public boolean isCollection() {
            return false;
        }
    
        @Override
        public boolean isLeaf() {
            return node.children().isEmpty();
        }
    
        @Override
        public void setValue(Object value) {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top