Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 369 for addAll (0.11 sec)

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

          int extras = numGoodQueries % size;
    
          for (int i = 0; i < minCopiesOfEachGoodQuery; i++) {
            queryList.addAll(elementsInSet);
          }
          List<Element> tmp = Lists.newArrayList(elementsInSet);
          shuffle(tmp, random);
          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Lists.java

        ArrayList<E> list = new ArrayList<>(capacity);
        Collections.addAll(list, elements);
        return list;
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin
       * shortcut for creating an empty list then calling {@link Iterables#addAll}.
       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

        }
    
        DefaultModelBuildingResult(ModelBuildingResult result) {
            this();
            this.activeExternalProfiles.addAll(result.getActiveExternalProfiles());
            this.effectiveModel = result.getEffectiveModel();
            this.fileModel = result.getFileModel();
            this.problems.addAll(result.getProblems());
    
            for (String modelId : result.getModelIds()) {
                this.modelIds.add(modelId);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<Integer> set = Sets.newSetFromMap(new HashMap<Integer, Boolean>());
        set.addAll(SOME_COLLECTION);
        verifySetContents(set, SOME_COLLECTION);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testNewSetFromMapSerialization() {
        Set<Integer> set = Sets.newSetFromMap(new LinkedHashMap<Integer, Boolean>());
        set.addAll(SOME_COLLECTION);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

                return parent.containsAll(c);
            }
    
            public boolean addAll(final Collection<? extends E> c) {
                return parent.addAll(c);
            }
    
            public boolean addAll(final int index, final Collection<? extends E> c) {
                return parent.addAll(index, c);
            }
    
            public boolean removeAll(final Collection<?> c) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertEquals(3, queue.remainingCapacity());
    
        assertTrue(queue.addAll(ImmutableList.of("one", "two", "three")));
        assertEquals("one", queue.element());
        assertEquals("one", queue.peek());
        assertEquals(3, queue.size());
        assertEquals(0, queue.remainingCapacity());
    
        assertTrue(queue.addAll(ImmutableList.of("four")));
        assertEquals("two", queue.element());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          assertThrows(UnsupportedOperationException.class, () -> cache.asMap().keySet().add(1));
    
          assertThrows(
              UnsupportedOperationException.class, () -> cache.asMap().keySet().addAll(asList(1, 2)));
        }
      }
    
    
      public void testKeySet_clear() {
        for (LoadingCache<Object, Object> cache : caches()) {
          warmUp(cache, 0, 100);
    
          Set<Object> keys = cache.asMap().keySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          assertThrows(UnsupportedOperationException.class, () -> cache.asMap().keySet().add(1));
    
          assertThrows(
              UnsupportedOperationException.class, () -> cache.asMap().keySet().addAll(asList(1, 2)));
        }
      }
    
    
      public void testKeySet_clear() {
        for (LoadingCache<Object, Object> cache : caches()) {
          warmUp(cache, 0, 100);
    
          Set<Object> keys = cache.asMap().keySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-compiler-configuration.kt

        compilerOptions {
            allWarningsAsErrors = true
            apiVersion = KotlinVersion.KOTLIN_1_8
            languageVersion = KotlinVersion.KOTLIN_1_8
            jvmTarget = JvmTarget.JVM_1_8
            freeCompilerArgs.addAll(
                "-Xjsr305=strict",
                "-java-parameters",
                "-Xsam-conversions=class",
            )
        }
    }
    
    
    fun CompilerConfiguration.configureKotlinCompilerForGradleBuild() {
    
        put(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 26 19:59:57 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    if (existing != null) {
                        if (version == null) {
                            version = existing.getVersion();
                        }
                        execs.addAll(existing.getExecutions());
                        deps.addAll(existing.getDependencies());
                    }
    
                    PluginExecution execution = PluginExecution.newBuilder()
                            .id(getExecutionId(existing, goal))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top