|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectorg.javaruntype.typedef.InnerWildcardTypeDefVariable
public final class InnerWildcardTypeDefVariable
Represents an inner type definition variable containing a wildcard or bounded wildcard type.
For example: X extends List<? extends Integer>.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
InnerTypeDefVariable |
getLowerBound()
Returns the variable upper bound (defined with an extends clause), if any. |
InnerTypeDefVariable |
getUpperBound()
Returns the variable upper bound (defined with an extends clause), if any. |
int |
hashCode()
|
boolean |
hasLowerBound()
Returns whether the variable establishes a lower bound (with a super clause). |
boolean |
hasUpperBound()
Returns whether the variable establishes an upper bound (with an extends clause). |
boolean |
isUnbound()
Returns true only if there is neither an upper nor a lower bound, false otherwise. |
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean hasUpperBound()
Returns whether the variable establishes an upper bound (with an extends clause).
public InnerTypeDefVariable getUpperBound()
Returns the variable upper bound (defined with an extends clause), if any.
public boolean hasLowerBound()
Returns whether the variable establishes a lower bound (with a super clause).
public InnerTypeDefVariable getLowerBound()
Returns the variable upper bound (defined with an extends clause), if any.
public boolean isUnbound()
Returns true only if there is neither an upper nor a lower bound, false otherwise.
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 | |||||||||