org.sakaiproject.tool.assessment.util
Class BeanSort

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.util.BeanSort

public class BeanSort
extends Object

DOCUMENTATION PENDING

Version:
$Id: BeanSort.java 5718 2006-02-02 23:02:17Z daisyf@stanford.edu $
Author:
$author$

Constructor Summary
BeanSort(Collection c, String onProperty)
          The only public constructor.
 
Method Summary
 Object[] arraySort()
          DOCUMENTATION PENDING
 Collection sort()
          DOCUMENTATION PENDING
 void toDateSort()
           
 void toNumericSort()
          DOCUMENTATION PENDING
 void toStringSort()
          DOCUMENTATION PENDING
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanSort

public BeanSort(Collection c,
                String onProperty)
The only public constructor. Requires a valid property name for a a Java Bean as a sole parameter.

Parameters:
c - the property name for Java Bean to sort by
onProperty - DOCUMENTATION PENDING
Method Detail

arraySort

public Object[] arraySort()
DOCUMENTATION PENDING

Returns:
DOCUMENTATION PENDING

sort

public Collection sort()
DOCUMENTATION PENDING

Returns:
DOCUMENTATION PENDING

toStringSort

public void toStringSort()
DOCUMENTATION PENDING


toNumericSort

public void toNumericSort()
DOCUMENTATION PENDING


toDateSort

public void toDateSort()