E - element typepublic abstract class ImmutableOrdinalSet<E extends OrdinalValue<E>>
extends com.google.common.collect.ForwardingSet<E>
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableOrdinalSet.Builder<E extends OrdinalValue<E>> |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e)
Deprecated.
|
boolean |
addAll(Collection<? extends E> newElements)
Deprecated.
|
static <E extends OrdinalValue<E>> |
builder() |
void |
clear()
Deprecated.
|
boolean |
containsAny(Collection<?> collection) |
static <E extends OrdinalValue<E>> |
copyOf(E[] elements) |
static <E extends OrdinalValue<E>> |
copyOf(Iterable<? extends E> elements) |
abstract void |
incrementCounters(int[] counters) |
static <E extends OrdinalValue<E>> |
of() |
static <E extends OrdinalValue<E>> |
of(E first,
E... rest) |
boolean |
remove(Object object)
Deprecated.
|
boolean |
removeAll(Collection<?> oldElements)
Deprecated.
|
boolean |
retainAll(Collection<?> elementsToKeep)
Deprecated.
|
delegate, equals, hashCode, standardEquals, standardHashCode, standardRemoveAllcontains, containsAll, isEmpty, iterator, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontains, containsAll, isEmpty, iterator, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic static <E extends OrdinalValue<E>> ImmutableOrdinalSet<E> of()
@SafeVarargs public static <E extends OrdinalValue<E>> ImmutableOrdinalSet<E> of(E first, E... rest)
public static <E extends OrdinalValue<E>> ImmutableOrdinalSet<E> copyOf(Iterable<? extends E> elements)
public static <E extends OrdinalValue<E>> ImmutableOrdinalSet<E> copyOf(E[] elements)
@Deprecated public final boolean add(E e)
@Deprecated public final boolean remove(Object object)
@Deprecated public final boolean addAll(Collection<? extends E> newElements)
@Deprecated public final boolean removeAll(Collection<?> oldElements)
@Deprecated public final boolean retainAll(Collection<?> elementsToKeep)
@Deprecated public final void clear()
public abstract void incrementCounters(int[] counters)
public boolean containsAny(Collection<?> collection)
public static <E extends OrdinalValue<E>> ImmutableOrdinalSet.Builder<E> builder()
Copyright © 2020 The Immutables.org authors. All rights reserved.