Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 424 for addAll (0.17 sec)

  1. guava/src/com/google/common/collect/ImmutableRangeSet.java

         * and will be merged, but overlapping ranges will cause an exception when {@link #build()} is
         * called.
         */
        @CanIgnoreReturnValue
        public Builder<C> addAll(RangeSet<C> ranges) {
          return addAll(ranges.asRanges());
        }
    
        /**
         * Add all of the specified ranges to this builder. Adjacent ranges are permitted and will be
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

         * and will be merged, but overlapping ranges will cause an exception when {@link #build()} is
         * called.
         */
        @CanIgnoreReturnValue
        public Builder<C> addAll(RangeSet<C> ranges) {
          return addAll(ranges.asRanges());
        }
    
        /**
         * Add all of the specified ranges to this builder. Adjacent ranges are permitted and will be
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

            if (StringUtil.isNotBlank(key)) {
                final List<String> nameList = attributes.get(key);
                if (nameList != null) {
                    list.addAll(nameList);
                }
            }
            final String value = fessConfig.getSystemProperty("saml.default.groups");
            if (StringUtil.isNotBlank(value)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  4. 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();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            }
            builder.addAll(array);
          }
        },
        ADD_COLLECTION {
          @Override
          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
            List<Long> list = new ArrayList<>();
            long num = RANDOM.nextInt(10);
            for (int i = 0; i < num; i++) {
              list.add(counter.getAndIncrement());
            }
            builder.addAll(list);
          }
        },
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                map.put("id", UPLOAD);
                map.put("name", "");
                map.put("version", "");
                result.add(map);
                try {
                    result.addAll(getAllAvailableArtifacts());
                } catch (final Exception e) {
                    saveError(messages -> messages.addErrorsFailedToFindPlugins(GLOBAL));
                    logger.warn("Failed to access a plugin repository.", e);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

                if (classesForSourceSet == null) {
                    // No classes included, disable
                    testTask.enabled = false
                } else {
                    testTask.filter.includePatterns.addAll(classesForSourceSet)
                }
            }
        }
    
        class ExcludeTestClassProvider(private val excludeTestClasses: Map<String, List<String>>) : BuildBucketProvider {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Dec 08 06:28:57 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/MathTesting.java

      static final Iterable<Long> ALL_LONG_CANDIDATES;
    
      static {
        ImmutableSet.Builder<Long> longValues = ImmutableSet.builder();
        // First add all the integer candidate values.
        longValues.addAll(Iterables.transform(POSITIVE_INTEGER_CANDIDATES, TO_LONG));
        // Add boundary values manually to avoid over/under flow (this covers 2^N for 31 and 63).
        longValues.add(Integer.MAX_VALUE + 1L, Long.MAX_VALUE - 1L, Long.MAX_VALUE);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        siblingCollection.add(sampleElement);
    
        Collection<E> copy = new ArrayList<>();
        // Avoid copy.addAll(collection), which runs afoul of an Android bug in older versions:
        // http://b.android.com/72073 http://r.android.com/98929
        Iterators.addAll(copy, collection.iterator());
    
        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

          contents[size++] = element;
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E... elements) {
          addAll(elements, elements.length);
          return this;
        }
    
        final void addAll(@Nullable Object[] elements, int n) {
          checkElementsNotNull(elements, n);
          getReadyToExpandTo(size + n);
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
Back to top