java.lang.Object
de.siegmar.fastcsv.util.Util
Internal utility class.
It is not a part of the API!
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
CR
public static final char CRCarriage return.- See Also:
-
LF
public static final char LFLine feed.- See Also:
-
-
Constructor Details
-
Util
private Util()
-
-
Method Details
-
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
-
isNewline
public static boolean isNewline(char character) Checks if the given character is a newline character.
-