[]
        
立即试用
(Showing Draft Content)

SortDataOption

Enum Class SortDataOption

java.lang.Object
java.lang.Enum<SortDataOption>
com.grapecity.documents.excel.SortDataOption
All Implemented Interfaces:
Serializable, Comparable<SortDataOption>, Constable

public enum SortDataOption extends Enum<SortDataOption>
指定如何对文本进行排序。
  • Enum Constant Details

    • TextAsNumbers

      public static final SortDataOption TextAsNumbers
      指定将文本作为数字数据进行排序。
    • Normal

      public static final SortDataOption Normal
      对数值和文本数据分别进行排序。
  • Method Details

    • values

      public static SortDataOption[] 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 SortDataOption 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