Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for toImmutableSet (0.27 sec)

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

       * duplicate in encounter order will appear in the result.
       *
       * @since 21.0
       */
      public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
        return CollectCollectors.toImmutableSet();
      }
    
      /**
       * Returns the empty immutable set. Preferred over {@link Collections#emptySet} for code
       * consistency, and because the return type conveys the immutability guarantee.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        return new SerializedForm<E>(comparator, toArray());
      }
    
      /**
       * Not supported. Use {@link #toImmutableSortedSet} instead. This method exists only to hide
       * {@link ImmutableSet#toImmutableSet} from consumers of {@code ImmutableSortedSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedSet#toImmutableSortedSet}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

                ImmutableSet<String> matchedClasses = referencedTypes.stream()
                    .filter(it -> !types.test(it))
                    .map(JavaClass::getName)
                    .collect(ImmutableSet.toImmutableSet());
                boolean fulfilled = matchedClasses.isEmpty();
                String message = fulfilled
                    ? String.format("%s has only arguments/return type that are %s in %s",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code ImmutableSet.copyOf(stream.iterator())}, or pass
       * {@link ImmutableSet#toImmutableSet} to {@code stream.collect()}.
       *
       * @throws NullPointerException if any element is {@code null}
       * @since 14.0 (since 12.0 as {@code toImmutableSet()}).
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final ImmutableSet<@NonNull E> toSet() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/FluentIterable.java

       * duplicates removed.
       *
       * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableSet#toImmutableSet} to {@code
       * stream.collect()}.
       *
       * @throws NullPointerException if any element is {@code null}
       * @since 14.0 (since 12.0 as {@code toImmutableSet()}).
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * {@link ImmutableSet#toImmutableSet} from consumers of {@code ImmutableSortedSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedSet#toImmutableSortedSet}.
       * @since 21.0
       */
      @DoNotCall("Use toImmutableSortedSet")
      @Deprecated
      public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
        throw new UnsupportedOperationException();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

          }
        }
      }
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code ImmutableSet}
       * with an implementation specialized for enums. Unlike {@link ImmutableSet#toImmutableSet}, the
       * resulting set will iterate over elements in their enum definition order, not encounter order.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Sets.java

          }
        }
      }
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code ImmutableSet}
       * with an implementation specialized for enums. Unlike {@link ImmutableSet#toImmutableSet}, the
       * resulting set will iterate over elements in their enum definition order, not encounter order.
       *
       * @since 21.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top