- java.lang.Object
-
- de.siegmar.fastcsv.util.Util
-
public final class Util extends java.lang.ObjectInternal utility class.It is not a part of the API!
-
-
Constructor Summary
Constructors Modifier Constructor Description privateUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancontainsDupe(char... chars)Checks if the given array of characters contains any duplicate characters.static booleanisNewline(char character)Checks if the given character is a newline character.
-
-
-
Field Detail
-
CR
public static final char CR
Carriage return.- See Also:
- Constant Field Values
-
LF
public static final char LF
Line feed.- See Also:
- Constant Field Values
-
-
Method Detail
-
containsDupe
public static boolean containsDupe(char... chars)
Checks if the given array of characters contains any duplicate characters.- Parameters:
chars- the array of characters to check for duplicates- Returns:
trueif any character appears more than once in the array,falseotherwise
-
-