nesstar.rdf
Class ParameterComparator

java.lang.Object
  extended by 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

Constructor Summary
ParameterComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
          Method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ParameterComparator

public ParameterComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Method

Specified by:
compare in interface Comparator
Parameters:
o1 -
o2 -
Returns:

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved