Package com.opencsv.bean
Class OpencsvUtils
- java.lang.Object
-
- com.opencsv.bean.OpencsvUtils
-
public final class OpencsvUtils extends java.lang.Object
This class is meant to be a collection of general purpose static methods useful in processing mapping strategies.- Since:
- 3.9
- Author:
- Andrew Rucker Jones
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> void
queueRefuseToAcceptDefeat(java.util.concurrent.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.
-
-
-
Method Detail
-
queueRefuseToAcceptDefeat
public static <E> void queueRefuseToAcceptDefeat(java.util.concurrent.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.- Type Parameters:
E
- The type of the object to be queued- Parameters:
queue
- The queue the object should be added toobject
- The object to be queued- Since:
- 4.0
-
-