Eclipse JDT
Release 3.0

org.eclipse.jdt.launching
Interface IRuntimeContainerComparator


Deprecated. support has been added to ClasspathContainerInitializer to handle comparison of classpath containers. Use ClasspathContainerInitializer.getComparisonID(IPath,IJavaProject). When a classpath container implements this interface, this interface is used to determine equality before using the support defined in ClasspathContainerInitializer.

public interface IRuntimeContainerComparator

Determines if container entries are duplicates/redundant on a runtime classpath. If an IClasspathContianer implements this interface, the isDuplicate method is used to determine if containers are duplicates/redundant. Otherwise, containers with the same identifier are considered duplicates.

Since:
2.0.1

Method Summary
 boolean isDuplicate(IPath containerPath)
          Deprecated. Returns whether this container is a duplicate of the conatiner identified by the given path.
 

Method Detail

isDuplicate

public boolean isDuplicate(IPath containerPath)
Deprecated. 
Returns whether this container is a duplicate of the conatiner identified by the given path.

Parameters:
containerPath - the container to compare against
Returns:
whether this container is a duplicate of the conatiner identified by the given path

Eclipse JDT
Release 3.0

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.