Enum Class CaseUtils.CaseType

java.lang.Object
java.lang.Enum<CaseUtils.CaseType>
cool.scx.common.util.CaseUtils.CaseType
All Implemented Interfaces:
Serializable, Comparable<CaseUtils.CaseType>, Constable
Enclosing class:
CaseUtils

public static enum CaseUtils.CaseType extends Enum<CaseUtils.CaseType>
CaseType
Version:
0.0.8
Author:
scx567888
  • Enum Constant Details

    • CAMEL_CASE

      public static final CaseUtils.CaseType CAMEL_CASE
      驼峰命名法 getNameByAge
    • PASCAL_CASE

      public static final CaseUtils.CaseType PASCAL_CASE
      匈牙利命名法 GetNameByAge
    • KEBAB_CASE

      public static final CaseUtils.CaseType KEBAB_CASE
      短横线命名法 get-name-by-age
    • SNAKE_CASE

      public static final CaseUtils.CaseType SNAKE_CASE
      蛇形命名法 get_name_by_age
    • BLANK

      public static final CaseUtils.CaseType BLANK
      空白字符串
  • Method Details

    • values

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

      public static CaseUtils.CaseType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSourceStrings

      public String[] getSourceStrings(String o)
    • getString

      public String getString(String[] s)