|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxtc.tree.Node
xtc.type.Type
xtc.type.BooleanT
public class BooleanT
A boolean type.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class xtc.type.Type |
|---|
Type.Tag |
| Field Summary | |
|---|---|
static BooleanT |
TYPE
The canonical boolean type. |
| Constructor Summary | |
|---|---|
BooleanT()
Create a new boolean type. |
|
BooleanT(Type template)
Create a new boolean type. |
|
| Method Summary | |
|---|---|
BooleanT |
copy()
Create a deep copy of this type. |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
boolean |
isBoolean()
Determine whether this type is a boolean. |
Type.Tag |
tag()
Get this type's tag. |
BooleanT |
toBoolean()
Get this type as a boolean. |
java.lang.String |
toString()
Return a human readable representation of this node. |
void |
write(java.lang.Appendable out)
Write a human readable representation to the specified appendable. |
| Methods inherited from class xtc.tree.Node |
|---|
add, add, addAll, addAll, addAll, addAll, addAllTo, addNode, contains, get, getBoolean, getBooleanProperty, getGeneric, getList, getName, getNode, getProperty, getString, getStringProperty, getTokenText, hasName, hasProperty, hasTraversal, indexOf, isAnnotation, isEmpty, isGeneric, isList, isToken, iterator, lastIndexOf, remove, set, size, strip, toAnnotation, toList, toToken |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final BooleanT TYPE
| Constructor Detail |
|---|
public BooleanT()
public BooleanT(Type template)
template - The type whose annotations to copy.| Method Detail |
|---|
public BooleanT copy()
Type
copy in class Typepublic Type.Tag tag()
Type
tag in class TypeType.wtag()public boolean isBoolean()
Type
isBoolean in class Typetrue if this type is a boolean.public BooleanT toBoolean()
Type
toBoolean in class Typepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
public void write(java.lang.Appendable out)
throws java.io.IOException
NodeObject.toString().
write in class Nodeout - The appendable.
java.io.IOException - Signals an I/O error.public java.lang.String toString()
NodeNode.write(Appendable).
toString in class Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||