Microsoft SDK for Java

Comparison Interface

The Comparison Interface of the com.ms.util package is designed for implementing comparisons of two objects (usually used in conjunction with a VectorSort or ArraySort object).

public interface Comparison
{
  // Methods
  public int compare(Object p, Object q);
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.