Module datarush.analytics
Enum RegexWordBreakIterator.WordPattern
- java.lang.Object
-
- java.lang.Enum<RegexWordBreakIterator.WordPattern>
-
- com.pervasive.datarush.analytics.text.RegexWordBreakIterator.WordPattern
-
- All Implemented Interfaces:
Serializable
,Comparable<RegexWordBreakIterator.WordPattern>
- Enclosing class:
- RegexWordBreakIterator
public static enum RegexWordBreakIterator.WordPattern extends Enum<RegexWordBreakIterator.WordPattern>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMOTICON
HASHTAG
TWITTERLINK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPattern()
static RegexWordBreakIterator.WordPattern
valueOf(String name)
Returns the enum constant of this type with the specified name.static RegexWordBreakIterator.WordPattern[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HASHTAG
public static final RegexWordBreakIterator.WordPattern HASHTAG
-
TWITTERLINK
public static final RegexWordBreakIterator.WordPattern TWITTERLINK
-
EMOTICON
public static final RegexWordBreakIterator.WordPattern EMOTICON
-
-
Method Detail
-
values
public static RegexWordBreakIterator.WordPattern[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RegexWordBreakIterator.WordPattern c : RegexWordBreakIterator.WordPattern.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegexWordBreakIterator.WordPattern valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPattern
public String getPattern()
-
-