Eclipse JDT
Release 3.7

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 container identified by the given path.
 

Method Detail

isDuplicate

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

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

Eclipse JDT
Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.