Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 369 for addAll (0.07 sec)

  1. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

          for (int i = 0; i < VALUES.length; i++) {
            List<Double> list = Doubles.asList(VALUES).subList(0, i);
            Collection<Double> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            double[] arr = Doubles.toArray(misleadingSize);
            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/StatsTest.java

        // combinations of finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          StatsAccumulator accumulator = new StatsAccumulator();
          accumulator.addAll(values.asIterable());
          double min = accumulator.snapshot().min();
          if (values.hasAnyNaN()) {
            assertWithMessage("min of " + values).that(min).isNaN();
          } else if (values.hasAnyNegativeInfinity()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/LinkedHashMultimap.java

      }
    
      /**
       * Returns a set of all key-value pairs. Changes to the returned set will update the underlying
       * multimap, and vice versa. The entries set does not support the {@code add} or {@code addAll}
       * operations.
       *
       * <p>The iterator generated by the returned set traverses the entries in the order they were
       * added to the multimap.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                for (ArtifactRepository aliasedRepo : aliasedRepos) {
                    releasePolicies.add(aliasedRepo.getReleases());
                    mirroredRepos.addAll(aliasedRepo.getMirroredRepositories());
                }
    
                ArtifactRepositoryPolicy releasePolicy = getEffectivePolicy(releasePolicies);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    importResult = build(importRequest, importIds);
                } catch (ModelBuildingException e) {
                    problems.addAll(e.getProblems());
                    return null;
                }
    
                problems.addAll(importResult.getProblems());
    
                importModel = importResult.getEffectiveModel();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

        // If we're set to a default port, unset it in case of a scheme change.
        result.port = if (port != defaultPort(scheme)) port else -1
        result.encodedPathSegments.clear()
        result.encodedPathSegments.addAll(encodedPathSegments)
        result.encodedQuery(encodedQuery)
        result.encodedFragment = encodedFragment
        return result
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multiset.java

       * 1}, this method has the identical effect to {@link #add(Object)}. This method is functionally
       * equivalent (except in the case of overflow) to the call {@code
       * addAll(Collections.nCopies(element, occurrences))}, which would presumably perform much more
       * poorly.
       *
       * @param element the element to add occurrences of; may be null only if explicitly allowed by the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeResolver.java

              // adds recursive isSubtypeOf() call and feels complicated.
              // There is no contract one way or another as long as isSubtypeOf() works as expected.
              combined.addAll(asList(typeParam.getBounds()));
              if (combined.size() > 1) { // Object is implicit and only useful if it's the only bound.
                combined.remove(Object.class);
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            if (StringUtil.isNotBlank(key)) {
                tags = ArrayUtils.addAll(tags, key);
            }
            final String[] fields = request.getParameterValues("field");
    
            final PopularWordHelper popularWordHelper = ComponentUtil.getPopularWordHelper();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

        // We can't use Lists.asList() here because there's no hash->collect dependency
        List<HashFunction> list = new ArrayList<>();
        list.add(first);
        list.add(second);
        Collections.addAll(list, rest);
        return new ConcatenatedHashFunction(list.toArray(new HashFunction[0]));
      }
    
      /**
       * Returns a hash function which computes its hash code by concatenating the hash codes of the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top