-
- All Implemented Interfaces:
-
kotlin.collections.Collection,kotlin.collections.Iterable,kotlin.collections.MutableCollection,kotlin.collections.MutableIterable
public final class WeakStack<T extends Object> extends AbstractCollection<T>
A stack which keeps only weak references
-
-
Constructor Summary
Constructors Constructor Description WeakStack()
-
Method Summary
Modifier and Type Method Description IntegergetSize()Booleancontains(T element)Iterator<T>iterator()Booleanadd(T element)Booleanremove(T element)final Tpeek()final Tpop()Unitclear()-
Methods inherited from class org.acra.collections.WeakStack
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString -
Methods inherited from class kotlin.collections.Collection
forEach -
Methods inherited from class kotlin.collections.MutableCollection
parallelStream, spliterator, stream, toArray -
Methods inherited from class java.util.AbstractCollection
removeIf -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-