Microsoft SDK for Java

SetComparison Interface

The SetComparison Interface of the com.ms.util package compares two sets. It has only one method, which compares the sets, and a number of fields that are used to report the result of the set comparison.

public interface SetComparison
{
  // Fields
  static final int DISJOINT;
  static final int EMPTY;
  static final int EMPTY_SUBSET;
  static final int EMPTY_SUPERSET;
  static final int EQUAL;
  static final int OVERLAP;
  static final int SUBSET;
  static final int SUPERSET;

  // Methods
  int compareSet(Object other);
}

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