Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for emptySet (0.16 sec)

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

      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.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableSet}. For the unsorted sets,
     * they are thin wrapper around {@link java.util.Collections#emptySet()}, {@link
     * Collections#singleton(Object)} and {@link java.util.LinkedHashSet} for empty, singleton and
     * regular sets respectively. For the sorted sets, it's a thin wrapper around {@link
     * java.util.TreeSet}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

       */
      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.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top