Modifier and Type | Class and Description |
---|---|
static class |
ImmutableSet.ImmutableSetBuilder<T> |
Constructor and Description |
---|
ImmutableSet() |
Modifier and Type | Method and Description |
---|---|
static <T> ImmutableSet.ImmutableSetBuilder<T> |
builder() |
static <T> Set<T> |
copyOf(Set<T> set) |
static <T> Set<T> |
of(T... elements) |
public static <T> Set<T> copyOf(Set<T> set)
set
- @SafeVarargs public static <T> Set<T> of(T... elements)
elements
- public static <T> ImmutableSet.ImmutableSetBuilder<T> builder()
Copyright © 2017. All rights reserved.