org.openide.src
Class ConstructorElement.Key

java.lang.Object
  |
  +--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


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.