|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectorg.javaruntype.type.TypeParameter<Object>
org.javaruntype.type.WildcardTypeParameter
public final class WildcardTypeParameter
Represents a type parameter which only contains an unknown (a wildcard).
For example, the type List<?;>, would have a UnknownTypeParameter containing the ? parameter.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Type<Object> |
getType()
Returns the type contained in the parameter. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Type<Object> getType()
TypeParameterReturns the type contained in the parameter. It will raise an exception for wildcard type parameters (?).
getType in class TypeParameter<Object>public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
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 | |||||||||