|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.common.util.CharacterUtils
public final class CharacterUtils
Utilities related to char and Character.
Method Summary | |
---|---|
static boolean |
isAttachedLeadingPunctuation(int c)
Indicates whether a given char is an attached leading punctuation mark or not. |
static boolean |
isAttachedTrailingPunctuation(int c)
Indicates whether a given char is an attached trailing punctuation mark or not. |
static boolean |
isDetachablePunctuation(int c)
Indicates whether a given char is a punctuation mark or not. |
static boolean |
isDetachedPunctuation(int c)
Indicates whether a given char is a punctuation mark or not. |
static char[] |
toArray(List<Character> list)
Converts a List of Character instances into an array of chars. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static char[] toArray(List<Character> list)
list
- The List of Character instances to be converted to an array.
public static boolean isAttachedLeadingPunctuation(int c)
c
- The char to be tested.
c
is an attached leading punctuation character.public static boolean isAttachedTrailingPunctuation(int c)
c
- The char to be tested.
c
is an attached punctuation character.public static boolean isDetachablePunctuation(int c)
c
- The char to be tested.
c
is an attached punctuation character.public static boolean isDetachedPunctuation(int c)
c
- The char to be tested.
c
is an attached punctuation character.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |