net.sf.ant4eclipse.tools.pdesupport
Class TargetPlatform.Key

java.lang.Object
  extended by net.sf.ant4eclipse.tools.pdesupport.TargetPlatform.Key
Enclosing class:
TargetPlatform

public static class TargetPlatform.Key
extends java.lang.Object

Key to store instances of TargetPlatform in a map. The key encapsulates the target loaction (that may is null) and the workspace.


Constructor Summary
TargetPlatform.Key(Workspace workspace, java.io.File targetPlatformLocation)
           Creates an new instance of type Key.
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns true if this TargetPlatformKey is the same as the o argument.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetPlatform.Key

public TargetPlatform.Key(Workspace workspace,
                          java.io.File targetPlatformLocation)

Creates an new instance of type Key.

Parameters:
workspace - the workspace
targetPlatformLocation - the (optional) target platfrom location
Method Detail

equals

public boolean equals(java.lang.Object o)
Returns true if this TargetPlatformKey is the same as the o argument.

Overrides:
equals in class java.lang.Object
Returns:
true if this TargetPlatformKey is the same as the o argument.

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object