Package org.teavm.classlib.java.util
Interface TCollection<E>
- All Superinterfaces:
TIterable<E>
- All Known Subinterfaces:
TBlockingQueue<E>,TDeque<E>,TList<E>,TNavigableSet<E>,TQueue<E>,TSequencedCollection<E>,TSequencedSet<E>,TSet<E>,TSortedSet<E>
- All Known Implementing Classes:
TAbstractCollection,TAbstractList,TAbstractQueue,TAbstractSequentialList,TAbstractSet,TArrayBlockingQueue,TArrayDeque,TArrayList,THashSet,TLinkedBlockingDeque,TLinkedHashSet,TLinkedList,TPriorityQueue,TStack,TTemplateCollections.ImmutableArrayList,TTreeSet,TVector
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(TCollection<? extends E> c) voidclear()booleanbooleancontainsAll(TCollection<?> c) booleanisEmpty()booleanbooleanremoveAll(TCollection<?> c) default booleanbooleanretainAll(TCollection<?> c) intsize()default TSpliterator<E> stream()Object[]toArray()default <T> T[]toArray(IntFunction<T[]> gen) <T> T[]toArray(T[] a)
-
Method Details
-
size
int size() -
isEmpty
boolean isEmpty() -
contains
-
toArray
Object[] toArray() -
toArray
<T> T[] toArray(T[] a) -
toArray
-
add
-
remove
-
containsAll
-
addAll
-
removeAll
-
retainAll
-
clear
void clear() -
spliterator
- Specified by:
spliteratorin interfaceTIterable<E>
-
stream
-
removeIf
-