Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 507 for Collection (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> {
    
      /** A collection of elements to retain, along with a description for use in failure messages. */
      private final class Target {
        private final Collection<E> toRetain;
        private final String description;
    
        private Target(Collection<E> toRetain, String description) {
          this.toRetain = toRetain;
          this.description = description;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. README.md

    - **Reduced memory allocation** in collection operations and bean copying
    - **Improved reflection performance** with cached descriptors and optimized field access
    - **Enhanced collection operations** with Java 21 sequenced collections support
    - **Better concurrent performance** using modern concurrent collection implementations
    
    ## 🔧 Configuration
    
    ### Logging Configuration
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterable<? extends E> elements) {
          if (elements instanceof Collection) {
            Collection<?> collection = (Collection<?>) elements;
            contents.ensureCapacity(contents.size() + collection.size());
          }
          super.addAll(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

         * If the value is a Collection containing Entity objects, each Entity will be converted to a Map.
         * For other types of values, they are registered directly.
         *
         * @param data the RenderData object to register the value in
         * @param key the key to associate with the value
         * @param value the value to register; can be null, Entity, Collection, or any other object
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean addAll(Collection<? extends E> newElements) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean removeAll(Collection<?> oldElements) {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testSpliteratorUnknownOrder() {
        SpliteratorTester.of(collection::spliterator).expect(getSampleElements());
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testSpliteratorKnownOrder() {
        SpliteratorTester.of(collection::spliterator).expect(getOrderedElements()).inOrder();
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java

            throwIfUnchecked(e);
            throw new RuntimeException(e);
          }
        };
      }
    
      /**
       * Wraps a collection of tasks.
       *
       * @throws NullPointerException if any element of {@code tasks} is null
       */
      private <T extends @Nullable Object> ImmutableList<Callable<T>> wrapTasks(
          Collection<? extends Callable<T>> tasks) {
        ImmutableList.Builder<Callable<T>> builder = ImmutableList.builder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                    public int size() {
                        return 0;
                    }
                };
            }
        };
    
        static <E1, E2 extends E1> List<E1> copy(Collection<E2> collection) {
            return collection == null ? List.of() : List.copyOf(collection);
        }
    
        static <K, V> Map<K, V> copy(Map<K, V> map) {
            if (map == null) {
                return emptyMap();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ObjectArrays.java

       * Returns an array containing all of the elements in the specified collection; the runtime type
       * of the returned array is that of the specified array. If the collection fits in the specified
       * array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the
       * specified array and the size of the specified collection.
       *
       * <p>If the collection fits in the specified array with room to spare (i.e., the array has more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

          Collection<V> collection) {
        if (collection instanceof SortedSet) {
          return Collections.unmodifiableSortedSet((SortedSet<V>) collection);
        } else if (collection instanceof Set) {
          return Collections.unmodifiableSet((Set<V>) collection);
        } else if (collection instanceof List) {
          return Collections.unmodifiableList((List<V>) collection);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
Back to top