Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 738 for isEmpty (0.04 seconds)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

                            list << child
                        }
                        return list
                    }
                }
    
                if (trimmedContent.isEmpty()) {
                    target.append('/>')
                    return
                }
                target.append('>')
    
    
                trimmedContent.each { child ->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          val requestLineString = socket.source.readUtf8LineStrict()
          if (requestLineString.isEmpty()) {
            throw ProtocolException("no request because the stream is exhausted")
          }
          request = decodeRequestLine(requestLineString)
    
          while (true) {
            val header = socket.source.readUtf8LineStrict()
            if (header.isEmpty()) {
              break
            }
            addHeaderLenient(headers, header)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/mdo/paramdoc.mdo

            {
                expressionsBySyntax = new java.util.HashMap();
    
                java.util.List expressions = getExpressions();
    
                if ( expressions != null && !expressions.isEmpty() )
                {
                    for ( java.util.Iterator it = expressions.iterator(); it.hasNext(); )
                    {
                        Expression expr = (Expression) it.next();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
        assertEquals(mapEntry(k0(), v0()), iterator.next());
        iterator.remove();
        assertTrue(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testEntriesRemainValidAfterRemove() {
        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
        public boolean isEmpty() {
          return standardIsEmpty();
        }
    
        @Override
        public Iterator<E> iterator() {
          return standardIterator();
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

                throw new RuntimeException("Docbook content for $className does not contain a '$title' section.")
            }
            return sections[0]
        }
    
        Element getDescription() {
            if (comment.isEmpty() || comment[0].tagName != 'para') {
                throw new RuntimeException("Class $className does not have a description paragraph.")
            }
            return comment[0]
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

                List<TaskSegment> taskSegments = lifecycleTaskSegmentCalculator.calculateTaskSegments(session);
                projectBuilds = buildListCalculator.calculateProjectBuilds(session, taskSegments);
    
                if (projectBuilds.isEmpty()) {
                    throw new NoGoalSpecifiedException("No goals have been specified for this build."
                            + " You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                interpolationTargets.add(target);
                this.interpolator = interpolator;
                this.problems = problems;
            }
    
            public Object run() {
                while (!interpolationTargets.isEmpty()) {
                    Object obj = interpolationTargets.removeFirst();
    
                    traverseObjectWithParents(obj.getClass(), obj);
                }
                return null;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      public void testAsMapEmpty() {
        Set<String> strings = ImmutableSet.of();
        Map<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
        assertThat(map.entrySet()).isEmpty();
        assertTrue(map.isEmpty());
        assertThat(map.get("five")).isNull();
      }
    
      private static class NonNavigableSortedSet extends ForwardingSortedSet<String> {
        private final SortedSet<String> delegate = Sets.newTreeSet();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
                        (String str) -> str.isEmpty() ? null : charactersOf(str).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        7))
            .expect('a', 'b', 'c', 'd', 'e', 'f', 'g');
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top