Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.util
Class Sorter

    java.lang.Object
      org.apache.struts2.util.Sorter

    public class Sorter

extends Object

Sorters. Utility sorters for use with the "sort" tag.

See Also:
  `SortIteratorTag`, `SortIteratorFilter`

Constructor Summary
`Sorter()`

Method Summary
`Comparator` | `getAscending()`
`Comparator` | `getAscending(String anExpression)`
`Comparator` | `getComparator(String anExpression, boolean ascending)`
`Comparator` | `getDescending()`
`Comparator` | `getDescending(String anExpression)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Sorter

    public Sorter()

Method Detail

### getAscending

    public Comparator getAscending()

### getAscending

    public Comparator getAscending(String anExpression)

### getComparator

    public Comparator getComparator(String anExpression,
                                    boolean ascending)

### getDescending

    public Comparator getDescending()

### getDescending

    public Comparator getDescending(String anExpression)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.