|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.dynamicjava.symbol.TypeSystem.TypeWrapper
public class TypeSystem.TypeWrapper
A wrapper for types that provides an alternate toString() and equals() implementation:
toString() is defined in terms of #userRepresentation; equals() is defined
in terms of TypeSystem.isEqual(edu.rice.cs.dynamicjava.symbol.type.Type, edu.rice.cs.dynamicjava.symbol.type.Type). (Note that a corresponding hashCode() function is not implemented.)
| Constructor Summary | |
|---|---|
TypeSystem.TypeWrapper(Type t)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compare two TypeWrappers using TypeSystem.isEqual(edu.rice.cs.dynamicjava.symbol.type.Type, edu.rice.cs.dynamicjava.symbol.type.Type). |
int |
hashCode()
Throws an UnsupportedOperationException. |
java.lang.String |
toString()
Produce a string using #userRepresentation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TypeSystem.TypeWrapper(Type t)
| Method Detail |
|---|
public java.lang.String toString()
#userRepresentation.
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
TypeSystem.isEqual(edu.rice.cs.dynamicjava.symbol.type.Type, edu.rice.cs.dynamicjava.symbol.type.Type).
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||