| java.lang.Object org.clapper.curn.PlugInComparator
PlugInComparator | public class PlugInComparator implements Comparator<PlugIn>(Code) | | Compares plug-in classes based on their declared sort keys.
version: $Revision: 7041 $ |
Method Summary | |
public int | compare(PlugIn plugIn1, PlugIn plugIn2) Compare two plug-in classes, using their declared sort keys. | public boolean | equals(Object o) | public int | hashCode() Get the hash code for this object. |
PlugInComparator | PlugInComparator()(Code) | | Creates a new instance of PlugInComparator
|
compare | public int compare(PlugIn plugIn1, PlugIn plugIn2)(Code) | | Compare two plug-in classes, using their declared sort keys.
Parameters: plugIn1 - first plug-in Parameters: plugIn2 - second plug-in < 0 if plugIn1 is less than plugIn2,= 0 if both plug-ins have the same sort key,> 0 if plugIn1 is greater than plugIn2 See Also: PlugIn.getPlugInSortKey |
equals | public boolean equals(Object o)(Code) | | Determine whether this comparator is equal to another object
Parameters: o - the object to compare true if o is an instance of this class,false otherwise |
hashCode | public int hashCode()(Code) | | Get the hash code for this object.
the hash code |
|
|