public interface TCollection<E> extends TIterable<E>
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
boolean |
addAll(TCollection<? extends E> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(TCollection<?> c) |
boolean |
isEmpty() |
boolean |
remove(Object o) |
boolean |
removeAll(TCollection<?> c) |
boolean |
retainAll(TCollection<?> c) |
int |
size() |
default TSpliterator<E> |
spliterator() |
default TStream<E> |
stream() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
int size()
boolean isEmpty()
boolean contains(Object o)
Object[] toArray()
<T> T[] toArray(T[] a)
boolean add(E e)
boolean remove(Object o)
boolean containsAll(TCollection<?> c)
boolean addAll(TCollection<? extends E> c)
boolean removeAll(TCollection<?> c)
boolean retainAll(TCollection<?> c)
void clear()
default TSpliterator<E> spliterator()
spliterator
in interface TIterable<E>
Copyright © 2019. All rights reserved.