public final class MultiWriteDrainableLinkedList<T> extends Object
Constructor and Description |
---|
MultiWriteDrainableLinkedList() |
Modifier and Type | Method and Description |
---|---|
void |
add(T element)
Adds a new entry to this list.
|
Iterable<T> |
drainToDetachedIterable()
Returns an Iterable over all results added so far, but
atomically clears the structure as well.
|
public void add(T element)
public Iterable<T> drainToDetachedIterable()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved