public interface ImmutableSet<E> extends ImmutableCollection<E>, StreamSet<E>
| Modifier and Type | Method and Description |
|---|---|
static <E> ImmutableSet<E> |
empty() |
static <E> ImmutableSet<E> |
newSetWith(E... elements) |
static <E> ImmutableSet<E> |
newSetWith(E e1) |
static <E> ImmutableSet<E> |
newSetWithAll(Iterator<? extends E> iterator) |
isEmpty, sizestatic <E> ImmutableSet<E> empty()
empty in interface StreamIterable<E>static <E> ImmutableSet<E> newSetWith(E e1)
@SafeVarargs static <E> ImmutableSet<E> newSetWith(E... elements)
static <E> ImmutableSet<E> newSetWithAll(Iterator<? extends E> iterator)
Copyright © 2019 Objectos Software LTDA. All rights reserved.