public class

ImmutableList

extends ArrayList<E>
java.lang.Object
   ↳ java.util.AbstractCollection<E>
     ↳ java.util.AbstractList<E>
       ↳ java.util.ArrayList<E>
         ↳ com.facebook.common.internal.ImmutableList<E>

Class Overview

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

Summary

[Expand]
Inherited Fields
From class java.util.AbstractList
Public Methods
static <E> ImmutableList<E> copyOf(List<E> list)
static <E> ImmutableList<E> of(E... elements)
[Expand]
Inherited Methods
From class java.util.ArrayList
From class java.util.AbstractList
From class java.util.AbstractCollection
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.List

Public Methods

public static ImmutableList<E> copyOf (List<E> list)

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