Enum CharMatcher.Basic

java.lang.Object
java.lang.Enum<CharMatcher.Basic>
org.opensearch.analysis.common.CharMatcher.Basic
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CharMatcher.Basic>, java.lang.constant.Constable, CharMatcher
Enclosing interface:
CharMatcher

public static enum CharMatcher.Basic
extends java.lang.Enum<CharMatcher.Basic>
implements CharMatcher
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>

    Nested classes/interfaces inherited from interface org.opensearch.analysis.common.CharMatcher

    CharMatcher.Basic, CharMatcher.Builder, CharMatcher.ByUnicodeCategory
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    DIGIT  
    LETTER  
    PUNCTUATION  
    SYMBOL  
    WHITESPACE  
  • Method Summary

    Modifier and Type Method Description
    static CharMatcher.Basic valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static CharMatcher.Basic[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.opensearch.analysis.common.CharMatcher

    isTokenChar
  • Enum Constant Details

  • Method Details

    • values

      public static CharMatcher.Basic[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CharMatcher.Basic valueOf​(java.lang.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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null