Package coneforest.psylla.core
Class PsyNull
java.lang.Object
coneforest.psylla.core.PsyNull
- All Implemented Interfaces:
PsyAtomic
,PsyConvertableToName
,PsyConvertableToString
,PsyObject
A representation of
null
, a type of a void placeholder. There is
the only instance of this class, NULL
.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns aboolean
indicating whether some other object is “equal to” this one.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 Details
-
NULL
The solenull
object.
-
-
Method Details
-
toSyntaxString
- Specified by:
toSyntaxString
in interfacePsyObject
- Returns:
- a string
"null"
.
-
psyEq
Returns aboolean
indicating whether some other object is “equal to” this one. Return value istrue
if and only if other object hasname
type.
-