ccc.domain.sorting
Class Sorter

java.lang.Object
  extended by ccc.domain.sorting.Sorter

public final class Sorter
extends java.lang.Object

Sorts a list of resources.

Author:
Civic Computing Ltd.

Method Summary
static void sort(java.util.List<? extends ResourceEntity> resources, ResourceOrder order)
          Sort the supplied list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sort

public static void sort(java.util.List<? extends ResourceEntity> resources,
                        ResourceOrder order)
Sort the supplied list.

Parameters:
resources - The list to sort.
order - The order for the list's entries.


Copyright © 2010. All Rights Reserved.