|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.reflect.api.Arguments
public class Arguments
This class represents an argument list. It is a container for an
Object array and can be used as
hash-key.
| Field Summary | |
|---|---|
private Object[] |
args
the wrapped signature |
private int |
hash
bleeding edge performance hack |
static Arguments |
NO_ARGS
the void signature for a non-arg method |
| Constructor Summary | |
|---|---|
Arguments(Object... arguments)
The constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
Object |
getArgument(int position)
This method gets the argument at the given position. |
int |
getArgumentCount()
This method gets the number of arguments. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Arguments NO_ARGS
private final Object[] args
private final int hash
| Constructor Detail |
|---|
public Arguments(Object... arguments)
arguments - are the signature to wrap.| Method Detail |
|---|
public int getArgumentCount()
public Object getArgument(int position)
position.
position - is the index of the requested type. This value must be in
the range from 0 to
getArgumentCount() - 1.
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||