- java.lang.Object
-
- de.siegmar.fastcsv.util.Util
-
public final class Util extends java.lang.Object
Internal utility class.It is not a part of the API!
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
containsDupe(char... chars)
Checks if the given array of characters contains any duplicate characters.static boolean
isNewline(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:
true
if any character appears more than once in the array,false
otherwise
-
-