nesstar.rdf
Class ParameterComparator
java.lang.Object
nesstar.rdf.ParameterComparator
- All Implemented Interfaces:
- Comparator
public class ParameterComparator
- extends Object
- implements Comparator
Order parameters by range/name so to produce a fixed 'canonical' ordering.
This is needed for tools like APIMaker that have to produce method
signatures where parameters are always in the same order
- Created:
- 26 April 2002
ParameterComparator
public ParameterComparator()
compare
public int compare(Object o1,
Object o2)
- Method
- Specified by:
compare in interface Comparator
- Parameters:
o1 - o2 -
- Returns:
Copyright©2003 NSD - All Rights Reserved