org.nakedobjects.plugins.dnd.viewer.content
Class SimpleCollectionSorter

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.content.SimpleCollectionSorter
All Implemented Interfaces:
CollectionSorter

public class SimpleCollectionSorter
extends java.lang.Object
implements CollectionSorter


Field Summary
 
Fields inherited from interface org.nakedobjects.plugins.dnd.CollectionSorter
NORMAL, REVERSED
 
Constructor Summary
SimpleCollectionSorter()
           
 
Method Summary
 void sort(NakedObject[] elements, Comparator order, boolean reverse)
          Sorts the array of objects into the order specified by the comparator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCollectionSorter

public SimpleCollectionSorter()
Method Detail

sort

public void sort(NakedObject[] elements,
                 Comparator order,
                 boolean reverse)
Description copied from interface: CollectionSorter
Sorts the array of objects into the order specified by the comparator.

Specified by:
sort in interface CollectionSorter


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.