hw4
Class PrimType
java.lang.Object
hw4.TypeBridge
hw4.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 |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
pname
public java.lang.String pname
PrimType
public PrimType(java.lang.String pname)
hashCode
public int hashCode()
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive in class TypeBridge
equals
public boolean equals(java.lang.Object o)
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