E
- element type@JsType public interface Collection<E> extends Iterable<E>
Modifier and Type | Method and Description |
---|---|
boolean |
add(E o) |
boolean |
addAll(Collection<? extends E> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
isEmpty() |
default Stream<E> |
parallelStream() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
default boolean |
removeIf(Predicate<? super E> filter) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
default Spliterator<E> |
spliterator() |
default Stream<E> |
stream() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
boolean add(E o)
boolean addAll(Collection<? extends E> c)
void clear()
boolean contains(Object o)
boolean containsAll(Collection<?> c)
boolean isEmpty()
boolean remove(Object o)
boolean removeAll(Collection<?> c)
boolean retainAll(Collection<?> c)
int size()
@JsIgnore default Spliterator<E> spliterator()
spliterator
in interface Iterable<E>
Object[] toArray()
@JsIgnore <T> T[] toArray(T[] a)
Copyright © 2018. All rights reserved.