|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.attributes.AttributeIndex.ConstructorParameter
A constructor parameter. A method parameter is defined by the Method object it is defined in, and the index of the parameter in the method's parameter list.
Constructor Summary | |
AttributeIndex.ConstructorParameter(Constructor ctor,
int index)
Constructs a new ConstructorParameter. |
Method Summary | |
boolean |
equals(Object o)
Compares two ConstructorParameter s for equality.
|
Constructor |
getConstructor()
Get the constructor this parameter is defined in. |
int |
getIndex()
Get the index of this parameter in the parameter list of the constructor. |
int |
hashCode()
Computes the hashCode. |
String |
toString()
Converts this constructor parameter into a human-readable string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AttributeIndex.ConstructorParameter(Constructor ctor, int index)
Method Detail |
public Constructor getConstructor()
public int getIndex()
public boolean equals(Object o)
ConstructorParameter
s for equality.
They must point to the same constructor and have the same index.
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |