JavaScript is disabled on your browser.
 
Description Nested Class Summary Enum Constant Summary Method Summary Enum Constant Details 
ASCENDING DESCENDING UNSORTED  
Method Details 
values() valueOf(String)  
 
 
 
Enum Constant Summary 
Enum Constants 
Enumeration value indicating the items are sorted in increasing order.
 
Enumeration value indicating the items are sorted in decreasing order.
 
Enumeration value indicating the items are unordered.
 
 
 
 
Method Summary 
All Methods Static Methods Concrete Methods 
Returns the enum constant of this class with the specified name.
 
Returns an array containing the constants of this enum class, in
the order they are declared.
 
 
 
 
Methods declared in class java.lang.Enum  
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf  
 
 
 
 
Report a bug or suggest an enhancement Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions. Copyright  © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.license terms  and the documentation redistribution policy .