Package gnu.expr
Class Special
- java.lang.Object
-
- gnu.expr.Special
-
- All Implemented Interfaces:
gnu.kawa.format.Printable
,Externalizable
,Serializable
public class Special extends Object implements gnu.kawa.format.Printable, Externalizable
A class of special one-of-a-kind builtin values.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Special
abstractSpecial
static Special
dfault
static Object
eof
static Special
ifk
static Special
key
static Special
nativeSpecial
static Special
optional
static RuntimeException
reachedUnexpected
static Special
rest
static Special
undefined
-
Constructor Summary
Constructors Constructor Description Special()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
hashCode()
static Special
make(String name)
void
print(Consumer out)
void
readExternal(ObjectInput in)
Object
readResolve()
String
toString()
void
writeExternal(ObjectOutput out)
-
-
-
Field Detail
-
undefined
public static final Special undefined
-
optional
public static final Special optional
-
rest
public static final Special rest
-
ifk
public static final Special ifk
-
key
public static final Special key
-
dfault
public static final Special dfault
-
abstractSpecial
public static final Special abstractSpecial
-
nativeSpecial
public static final Special nativeSpecial
-
eof
public static final Object eof
-
reachedUnexpected
public static final RuntimeException reachedUnexpected
-
-
Method Detail
-
print
public void print(Consumer out)
- Specified by:
print
in interfacegnu.kawa.format.Printable
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
readResolve
public Object readResolve() throws ObjectStreamException
- Throws:
ObjectStreamException
-
-