It is not a part of the API!
| Modifier and Type | Field and Description |
|---|---|
| public static final char | CR
Carriage return. |
| public static final char | LF
Line feed. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if any character appears more than once in the array, false otherwisethe array of characters to check for duplicates chars)Checks if the given array of characters contains any duplicate characters. |
| public static boolean | containsNewline(final String
the string to check for newlines str)Checks if the given string contains any newline characters. |
| public static boolean |
| CR | back to summary |
|---|---|
| public static final char CR Carriage return. | |
| LF | back to summary |
|---|---|
| public static final char LF Line feed. | |
| Util | back to summary |
|---|---|
| private Util() | |
| containsDupe | back to summary |
|---|---|
| public static boolean containsDupe(final char... chars) Checks if the given array of characters contains any duplicate characters.
| |
| containsNewline | back to summary |
|---|---|
| public static boolean containsNewline(final String str) Checks if the given string contains any newline characters. | |
| isNewline | back to summary |
|---|---|
| public static boolean isNewline(final char character) Checks if the given character is a newline character. | |