Class Iex
[Register("io/scanbot/sdk/util/snap/iex", DoNotGenerateAcw = true)]
public sealed class Iex : Object, IComparator, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
Iex
- Implements
- Inherited Members
Constructors
Iex()
[Register(".ctor", "()V", "")]
public Iex()
Methods
Compare(Object, Object)
Compares its two arguments for order.
[Register("compare", "(Ljava/lang/Object;Ljava/lang/Object;)I", "")]
public int Compare(Object p0, Object p1)
Parameters
Returns
- int
a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
Remarks
<p>Compares its two arguments for order. Returns a negative integer,
zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that Integer#signum
signum(compare(x, y)) == -signum(compare(y, x)) for
all x and y. (This implies that compare(x, y) must throw an exception if and only if compare(y, x) throws an exception.)
The implementor must also ensure that the relation is transitive:
((compare(x, y)>0) && (compare(y, z)>0)) implies
compare(x, z)>0.
Finally, the implementor must ensure that compare(x,
y)==0 implies that signum(compare(x,
z))==signum(compare(y, z)) for all z.
.
java.util.Comparator.compare(T, T)
Portions of this page are modifications based on work created and shared by the