Package coneforest.psylla.core
Class PsyNull
- java.lang.Object
-
- coneforest.psylla.core.PsyNull
-
- All Implemented Interfaces:
PsyAtomic,PsyConvertableToName,PsyConvertableToString,PsyObject
public final class PsyNull extends Object implements PsyAtomic
A representation of Ψ-null, a type of a void placeholder. There is the only instance of this class,NULL.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PsyBooleanpsyEq(PsyObject o)Returns a Ψ-booleanindicating whether some other Ψ-object is “equal to” this one.StringtoSyntaxString()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, typeName
-
-
-
-
Field Detail
-
NULL
public static final PsyNull NULL
The sole Ψ-nullobject.
-
-
Method Detail
-
toSyntaxString
public String toSyntaxString()
- Specified by:
toSyntaxStringin interfacePsyObject- Returns:
- a string
"null".
-
psyEq
public PsyBoolean psyEq(PsyObject o)
Returns a Ψ-booleanindicating whether some other Ψ-object is “equal to” this one. Return value istrueif and only if other object hasnametype.
-
-