/****************************************************************************
  $Archive: /njcl_sample/NJCLApplet/src/InterfaceCompare.java $
  $Revision: 2 $
  $Modtime: 2/23/99 4:01p $

  Copyright (c) 1999 Novell, Inc.  All Rights Reserved.

 THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES.
 USE AND REDISTRIBUTION OF THIS WORK IS SUBJECT TO THE LICENSE AGREEMENT
 ACCOMPANYING THE SOFTWARE DEVELOPMENT KIT (SDK) THAT CONTAINS THIS WORK.
 PURSUANT TO THE SDK LICENSE AGREEMENT, NOVELL HEREBY GRANTS TO DEVELOPER A
 ROYALTY-FREE, NON-EXCLUSIVE LICENSE TO INCLUDE NOVELL'S SAMPLE CODE IN ITS
 PRODUCT. NOVELL GRANTS DEVELOPER WORLDWIDE DISTRIBUTION RIGHTS TO MARKET,
 DISTRIBUTE, OR SELL NOVELL'S SAMPLE CODE AS A COMPONENT OF DEVELOPER'S
 PRODUCTS. NOVELL SHALL HAVE NO OBLIGATIONS TO DEVELOPER OR DEVELOPER'S
 CUSTOMERS WITH RESPECT TO THIS CODE.
 ***************************************************************************/

/**
 * This interface defines a method for checking to see if a class implements
 * a given interface.
 */
public interface InterfaceCompare
{
   /**
    * Method called to determine if a class impelemnts a given interface.
    *
    * @param obj                 The object to be checked.
    * @return                    True if the object implements the right
    *                            interface.
    */
   public boolean implementsInterface (
         Object obj);
} // interface InterfaceCompare
