terp - the Codemesh Modular
Template Interpreter v1.3.309

com.codemesh.terp.api
Class Sorter.AbstractSorter

java.lang.Object
  extended by com.codemesh.terp.api.Sorter.AbstractSorter
All Implemented Interfaces:
Sorter
Enclosing interface:
Sorter

public abstract static class Sorter.AbstractSorter
extends java.lang.Object
implements Sorter

An abstract baseclass for concrete sorters.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.codemesh.terp.api.Sorter
Sorter.AbstractSorter
 
Field Summary
 
Fields inherited from interface com.codemesh.terp.api.Sorter
NO_ARGS
 
Constructor Summary
Sorter.AbstractSorter()
           
 
Method Summary
 java.util.Comparator getComparator(java.lang.Object owner)
          Returns the comparator that may be used for comparisons.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.codemesh.terp.api.Sorter
getComparator
 

Constructor Detail

Sorter.AbstractSorter

public Sorter.AbstractSorter()
Method Detail

getComparator

public java.util.Comparator getComparator(java.lang.Object owner)
Description copied from interface: Sorter
Returns the comparator that may be used for comparisons.

Specified by:
getComparator in interface Sorter
Parameters:
owner - the collection being sorted.
Returns:
the comparator.

terp - the Codemesh Modular
Template Interpreter v1.3.309

Copyright © 2008-2012 by Codemesh, Inc. All Rights Reserved.