| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableList.ImmutableListBuilder<T> |
| Constructor and Description |
|---|
ImmutableList() |
| Modifier and Type | Method and Description |
|---|---|
static <T> ImmutableList.ImmutableListBuilder<T> |
builder() |
static <T> List<T> |
copyOf(List<T> list) |
static <T> List<T> |
of(T... elements) |
public static <T> List<T> copyOf(List<T> list)
list - @SafeVarargs public static <T> List<T> of(T... elements)
elements - public static <T> ImmutableList.ImmutableListBuilder<T> builder()
Copyright © 2017. All rights reserved.