Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for MoreCollectors (0.15 seconds)

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

     * with a {@code com.google.common} type.
     *
     * @author Louis Wasserman
     * @since 21.0
     */
    @GwtCompatible
    public final class MoreCollectors {
    
      /*
       * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based
       * collector without breaking j2cl?
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MoreCollectors.java

     *
     * @author Louis Wasserman
     * @since 33.2.0 (available since 21.0 in guava-jre)
     */
    @GwtCompatible
    @IgnoreJRERequirement // Users will use this only if they're already using streams.
    public final class MoreCollectors {
    
      /*
       * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based
       * collector without breaking j2cl?
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MoreCollectorsTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.MoreCollectors.onlyElement;
    import static com.google.common.collect.MoreCollectors.toOptional;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/package-info.java

     *
     * <ul>
     *   <li>{@link Collections2}
     *   <li>{@link Comparators}
     *   <li>{@link Iterables}
     *   <li>{@link Iterators}
     *   <li>{@link Lists}
     *   <li>{@link Maps}
     *   <li>{@link MoreCollectors}
     *   <li>{@link Multimaps}
     *   <li>{@link Multisets}
     *   <li>{@link ObjectArrays}
     *   <li>{@link Queues}
     *   <li>{@link Sets}
     *   <li>{@link Streams}
     *   <li>{@link Tables}
     * </ul>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns the single element contained in {@code iterable}.
       *
       * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code
       * stream.collect(MoreCollectors.onlyElement())}.
       *
       * @throws NoSuchElementException if the iterable is empty
       * @throws IllegalArgumentException if the iterable contains multiple elements
       */
      @ParametricNullness
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns the single element contained in {@code iterable}.
       *
       * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code
       * stream.collect(MoreCollectors.onlyElement())}.
       *
       * @throws NoSuchElementException if the iterable is empty
       * @throws IllegalArgumentException if the iterable contains multiple elements
       */
      @ParametricNullness
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
Back to Top