Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RegularImmutableSet (0.07 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSet.java

    import java.util.Collections;
    import java.util.Set;
    
    /**
     * GWT emulation of {@link RegularImmutableSet}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableSet<E> extends ForwardingImmutableSet<E> {
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<Object>(Collections.emptySet());
    
      RegularImmutableSet(Set<E> delegate) {
        super(delegate);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

      }
    
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings({"unchecked"})
      public static <E> ImmutableSet<E> of() {
        return (ImmutableSet<E>) RegularImmutableSet.EMPTY;
      }
    
      public static <E> ImmutableSet<E> of(E e1) {
        return new SingletonImmutableSet<E>(e1);
      }
    
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSet<E> of(E e1, E e2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top