public enum SortOrder extends Enum<SortOrder>
RowSorter 
       | Enum Constant and Description | 
|---|
| ASCENDING
              指示项目的枚举值按照增加的顺序进行排序。 
             | 
| DESCENDING
              指示项目的枚举值按降序排序。 
             | 
| UNSORTED
              指示项目的枚举值无序。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| static SortOrder | valueOf(String name)
              以指定的名称返回此类型的枚举常量。 
             | 
| static SortOrder[] | values()
              按照它们声明的顺序返回一个包含此枚举类型常量的数组。 
             | 
public static final SortOrder ASCENDING
1, 4, 0排序在ASCENDING顺序为0, 1, 4 。 
          public static final SortOrder DESCENDING
1, 4, 0的DESCENDING顺序是4, 1, 0 。 
          public static final SortOrder UNSORTED
1, 4, 0中的UNSORTED订单是1, 4, 0 。 
          public static SortOrder[] values()
  for (SortOrder c : SortOrder.values())
    System.out.println(c);  
          public static SortOrder valueOf(String name)
name - 要返回的枚举常量的名称。 
           IllegalArgumentException - 如果此枚举类型没有指定名称的常量 
           NullPointerException - if the argument is null 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.