com.plumtree.openfoundation.util
Interface IXPComparer

All Superinterfaces:
java.util.Comparator

public interface IXPComparer
extends java.util.Comparator

IXPComparer exposes a method that compares two objects.


Method Summary
 int Compare(java.lang.Object obj1, java.lang.Object obj2)
          Compares two objects and returns a value indicating whether one is less than, equal to or greater than the other.
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

Compare

public int Compare(java.lang.Object obj1,
                   java.lang.Object obj2)
Compares two objects and returns a value indicating whether one is less than, equal to or greater than the other.

Parameters:
obj1 - First object to compare
obj2 - Second object to compare
Returns:
a negative integer, zero, or a positive integer as the first object is less than, equal to, or greater than the second.


Copyright 2002, 2003, 2004 Plumtree Software Inc. All Rights Reserved.