|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorc.type.Type
orc.type.Top
public class Top
The Top type. Supertype of all other types. All other types extend this type, so that we can use the Java inheritance hierarchy to maintain a default subtyping relation. The Top type can be ascribed to all values, and thus necessarily carries no information.
Field Summary |
---|
Fields inherited from class orc.type.Type |
---|
BLANK, BOOLEAN, BOT, INTEGER, LET, NUMBER, STRING, TOP |
Constructor Summary | |
---|---|
Top()
|
Method Summary | |
---|---|
boolean |
subtype(Type that)
|
java.lang.String |
toString()
|
Methods inherited from class orc.type.Type |
---|
call, equal, join, meet, supertype |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Top()
Method Detail |
---|
public boolean subtype(Type that)
subtype
in class Type
public java.lang.String toString()
toString
in class Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |