public class


extends HashSet<E>
   ↳ java.util.AbstractCollection<E>
     ↳ java.util.AbstractSet<E>
       ↳ java.util.HashSet<E>
         ↳ com.facebook.common.internal.ImmutableSet<E>

Class Overview

A dummy representation of an immutable set. This can be used temporarily as a type until we have an actual non-gauva implementation.


Public Methods
static <E> ImmutableSet<E> copyOf(Set<E> set)
static <E> ImmutableSet<E> of(E... elements)
Inherited Methods
From class java.util.HashSet
From class java.util.AbstractSet
From class java.util.AbstractCollection
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.Set

Public Methods

public static ImmutableSet<E> copyOf (Set<E> set)

public static ImmutableSet<E> of (E... elements)