lab8
Class PrimType
java.lang.Object
lab8.TypeBridge
lab8.PrimType
- All Implemented Interfaces:
- Type, TypeAttrs
public class PrimType
- extends TypeBridge
|
Field Summary |
java.lang.String |
pname
|
|
Constructor Summary |
PrimType(java.lang.String pname)
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
pname
public java.lang.String pname
PrimType
public PrimType(java.lang.String pname)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive in class TypeBridge
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
getTypeName
public java.lang.String getTypeName()
getTypeString
public java.lang.String getTypeString()
- Description copied from class:
TypeBridge
- A type string suitable for the JVM.
- Specified by:
getTypeString in interface TypeAttrs- Specified by:
getTypeString in class TypeBridge