lab8
Class PrimType

java.lang.Object
  extended by lab8.TypeBridge
      extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getTypeName()
           
 java.lang.String getTypeString()
          A type string suitable for the JVM.
 int hashCode()
           
 boolean isPrimitive()
           
 
Methods inherited from class lab8.TypeBridge
toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

pname

public java.lang.String pname
Constructor Detail

PrimType

public PrimType(java.lang.String pname)
Method Detail

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