public class

ImmutableSet

extends HashSet<E>
java.lang.Object
   ↳ 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.

Summary

Public Methods
static <E> ImmutableSet<E> copyOf(Set<E> set)
static <E> ImmutableSet<E> of(E... elements)
[Expand]
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)