public final class OpencsvUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E> void |
queueRefuseToAcceptDefeat(BlockingQueue<E> queue,
E object)
I find it annoying that when I want to queue something in a blocking
queue, the thread might be interrupted and I have to try again; this
method fixes that.
|
public static <E> void queueRefuseToAcceptDefeat(BlockingQueue<E> queue, E object)
E - The type of the object to be queuedqueue - The queue the object should be added toobject - The object to be queuedCopyright © 2019. All rights reserved.