For example:
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private TypePattern[] | |
| private TypePattern | |
| private String | |
| private TypePattern |
| Access | Constructor and Description |
|---|---|
| public | TypeVariablePattern(String variableName)
Create a named type variable with upper bound Object and no lower bounds. |
| public | TypeVariablePattern(String variableName, TypePattern upperBound)
Create a named type variable with the given upper bound and no lower bounds Use this constructor for the T extends Foo case |
| public | TypeVariablePattern(String variableName, TypePattern upperLimit, TypePattern[] interfaceBounds, TypePattern lowerBound)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | accept(PatternNodeVisitor visitor, Object data)
Implements abstract org. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public TypePattern[] | |
| private String | |
| public TypePattern | |
| public String | |
| public TypePattern | |
| public TypePattern | |
| public boolean | |
| public int | |
| public boolean | |
| public boolean | |
| public static TypeVariablePattern | |
| public String | |
| public void | write(CompressingDataOutputStream s)
Implements abstract org. |
| anything | back to summary |
|---|---|
| private static final String anything | |
| interfaceBounds | back to summary |
|---|---|
| private TypePattern[] interfaceBounds | |
| lowerBound | back to summary |
|---|---|
| private TypePattern lowerBound | |
| name | back to summary |
|---|---|
| private String name | |
| upperBound | back to summary |
|---|---|
| private TypePattern upperBound | |
| TypeVariablePattern | back to summary |
|---|---|
| public TypeVariablePattern(String variableName) Create a named type variable with upper bound Object and no lower bounds. Use this constructor for the simple "T" case | |
| TypeVariablePattern | back to summary |
|---|---|
| public TypeVariablePattern(String variableName, TypePattern upperBound) Create a named type variable with the given upper bound and no lower bounds Use this constructor for the T extends Foo case | |
| TypeVariablePattern | back to summary |
|---|---|
| public TypeVariablePattern(String variableName, TypePattern upperLimit, TypePattern[] interfaceBounds, TypePattern lowerBound) | |
| accept | back to summary |
|---|---|
| public Object accept(PatternNodeVisitor visitor, Object data) Implements abstract org. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAdditionalInterfaceBounds | back to summary |
|---|---|
| public TypePattern[] getAdditionalInterfaceBounds() | |
| getExtendsClause | back to summary |
|---|---|
| private String getExtendsClause() | |
| getLowerBound | back to summary |
|---|---|
| public TypePattern getLowerBound() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getRawTypePattern | back to summary |
|---|---|
| public TypePattern getRawTypePattern() | |
| getUpperBound | back to summary |
|---|---|
| public TypePattern getUpperBound() | |
| hasAdditionalInterfaceBounds | back to summary |
|---|---|
| public boolean hasAdditionalInterfaceBounds() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasLowerBound | back to summary |
|---|---|
| public boolean hasLowerBound() | |
| isAnythingPattern | back to summary |
|---|---|
| public boolean isAnythingPattern() | |
| read | back to summary |
|---|---|
| public static TypeVariablePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream s) throws IOException Implements abstract org. | |