com.groovyj.jgprog
Class Type
java.lang.Object
|
+--com.groovyj.jgprog.Type
- All Implemented Interfaces:
- java.io.Serializable
- public class Type
- extends java.lang.Object
- implements java.io.Serializable
The type of a node. I use Type.X instead of X.class because, at least in
Sun's 1.3 compiler, X.class is implemented as Class.forName("X"), which is
hideously expensive.
Copyright (c) 2000 Robert Baruch. This code is released under
the GNU General Public License (GPL).
- Version:
- $Id: Type.java,v 1.2 2000/10/12 15:22:55 groovyjava Exp $
- Author:
- Robert Baruch (jgprog@sourceforge.net)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Boolean
public static Type Boolean
Integer
public static Type Integer
Long
public static Type Long
Float
public static Type Float
Double
public static Type Double
Void
public static Type Void
Object
public static Type Object
getName
public java.lang.String getName()
equals
public boolean equals(Type t)