org.openide.src 1.8.22

org.openide.src
Class ConstructorElement.Key

java.lang.Object
  extended by org.openide.src.ConstructorElement.Key
Direct Known Subclasses:
MethodElement.Key
Enclosing class:
ConstructorElement

public static class ConstructorElement.Key
extends Object

Serves as a key for constructor elements. Enables them to be used in hashtables, etc.

See Also:
ConstructorElement

Constructor Summary
ConstructorElement.Key(ConstructorElement ce)
          Construct a key for a constructor.
ConstructorElement.Key(Type[] params)
          Construct a key by parameter types.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructorElement.Key

public ConstructorElement.Key(Type[] params)
Construct a key by parameter types.

Parameters:
params - the parameter types

ConstructorElement.Key

public ConstructorElement.Key(ConstructorElement ce)
Construct a key for a constructor. Does not keep a reference.

Parameters:
ce - the constructor
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

org.openide.src 1.8.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.