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 PsyBoolean
psyEq(PsyObject o)
Returns a Ψ-boolean
indicating whether some other Ψ-object is “equal to” this one.String
toSyntaxString()
-
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 Ψ-null
object.
-
-
Method Detail
-
toSyntaxString
public String toSyntaxString()
- Specified by:
toSyntaxString
in interfacePsyObject
- Returns:
- a string
"null"
.
-
psyEq
public PsyBoolean psyEq(PsyObject o)
Returns a Ψ-boolean
indicating whether some other Ψ-object is “equal to” this one. Return value istrue
if and only if other object hasname
type.
-
-