public class ListSorter
extends java.lang.Object
Constructor and Description |
---|
ListSorter() |
Modifier and Type | Method and Description |
---|---|
ListSorter |
ascending()
Signals that the sorting should be done in acending mode
|
ListSorter |
descending()
Signals that sorting should be done in descending mode
|
java.lang.String |
getProperty()
Returns the name of the property used for sorting
|
boolean |
isAscending()
Returns the type of sorting that is used
|
ListSorter |
property(java.lang.String p)
Sets the property for this sorter
|
public ListSorter property(java.lang.String p)
p
- a String
object representing the name of the propertypublic ListSorter ascending()
public ListSorter descending()
public boolean isAscending()
true
if this sorter uses ascending sorting, false
otherwisepublic java.lang.String getProperty()
String
representing the name of the property used for sorting.Copyright © 2010 - 2023 Adobe. All Rights Reserved