public abstract class TAbstractCollection<E> extends TObject implements TCollection<E>
Modifier | Constructor and Description |
---|---|
protected |
TAbstractCollection() |
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) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, equals, equals0, finalize, getClass0, hashCode, notify0, notifyAll0, wait0, wait0, waitImpl
size, spliterator, stream
public boolean isEmpty()
isEmpty
in interface TCollection<E>
public boolean contains(Object o)
contains
in interface TCollection<E>
public Object[] toArray()
toArray
in interface TCollection<E>
public <T> T[] toArray(T[] a)
toArray
in interface TCollection<E>
public boolean add(E e)
add
in interface TCollection<E>
public boolean remove(Object o)
remove
in interface TCollection<E>
public boolean containsAll(TCollection<?> c)
containsAll
in interface TCollection<E>
public boolean addAll(TCollection<? extends E> c)
addAll
in interface TCollection<E>
public boolean removeAll(TCollection<?> c)
removeAll
in interface TCollection<E>
public boolean retainAll(TCollection<?> c)
retainAll
in interface TCollection<E>
public void clear()
clear
in interface TCollection<E>
Copyright © 2019. All rights reserved.