Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 738 for isEmpty (0.25 seconds)

  1. android/guava/src/com/google/common/collect/EnumBiMap.java

        }
        checkArgument(!map.isEmpty());
        return getDeclaringClassOrObjectForJ2cl(map.keySet().iterator().next());
      }
    
      private static <V extends Enum<V>> Class<V> inferValueTypeOrObjectUnderJ2cl(Map<?, V> map) {
        if (map instanceof EnumBiMap) {
          return ((EnumBiMap<?, V>) map).valueTypeOrObjectUnderJ2cl;
        }
        checkArgument(!map.isEmpty());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableTable.java

      RegularImmutableTable() {}
    
      abstract Cell<R, C, V> getCell(int iterationIndex);
    
      @Override
      final ImmutableSet<Cell<R, C, V>> createCellSet() {
        return isEmpty() ? ImmutableSet.of() : new CellSet();
      }
    
      @WeakOuter
      private final class CellSet extends IndexedImmutableSet<Cell<R, C, V>> {
        @Override
        public int size() {
          return RegularImmutableTable.this.size();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                scopesToCollect = Collections.emptySet();
            }
            if (scopesToResolve == null) {
                scopesToResolve = Collections.emptySet();
            }
    
            if (scopesToCollect.isEmpty() && scopesToResolve.isEmpty()) {
                return new SetWithResolutionResult(null, new LinkedHashSet<>());
            }
    
            scopesToCollect = new HashSet<>(scopesToCollect);
            scopesToCollect.addAll(scopesToResolve);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionDataRepositoryTest.java

            repository.applyResumptionProperties(request, properties);
    
            assertTrue(request.getProjectActivation()
                    .getOptionalActiveProjectSelectors()
                    .isEmpty());
        }
    
        @Test
        void applyResumptionDataShouldLoadData() {
            MavenExecutionRequest request = new DefaultMavenExecutionRequest();
            Build build = new Build();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

         */
        private int checkHeaderComment(List<String> commentLines) {
            if (getHeader() == null && layout.isEmpty()) {
                // This is the first comment. Search for blank lines.
                int index = commentLines.size() - 1;
                while (index >= 0 && !commentLines.get(index).isEmpty()) {
                    index--;
                }
                setHeader(new ArrayList<String>(commentLines.subList(0, index + 1)));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         */
        private int checkHeaderComment(List<String> commentLines) {
            if (getHeader() == null && layout.isEmpty()) {
                // This is the first comment. Search for blank lines.
                int index = commentLines.size() - 1;
                while (index >= 0 && !commentLines.get(index).isEmpty()) {
                    index--;
                }
                setHeader(new ArrayList<String>(commentLines.subList(0, index + 1)));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  7. .github/workflows/CheckBadMerge.groovy

                .collect { it.trim() }
                .grep { !it.isEmpty() }
        }
    
        static List<String> parentCommitsOf(String commit) {
            return getStdout("git show --format=%P --no-patch --no-show-signature $commit")
                .split(" ").collect { it.trim() }.grep { !it.isEmpty() }
        }
    
        @groovy.transform.ToString
        static class ExecResult {
            String stdout
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 24 10:03:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertTrue(queue.addAll(misbehavingList));
    
        assertEquals("three", queue.remove());
        assertEquals("four", queue.remove());
        assertEquals("five", queue.remove());
        assertTrue(queue.isEmpty());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        GcFinalization.awaitDone(
            new FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return map.isEmpty();
              }
            });
        assertTrue(map.isEmpty());
      }
    
      // ----------------------------------------------------------------
      // Test that interrupts result in RuntimeException, not InterruptedException.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 17:02:07 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                    try (Writer writer = Files.newBufferedWriter(outputFile, StandardCharsets.UTF_8)) {
                        writer.write(result);
                        if (!result.isEmpty()) {
                            writer.write(System.lineSeparator());
                        }
                    }
                } else {
                    System.out.print(result);
                    System.out.flush();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top