Class PsyNull

java.lang.Object
coneforest.psylla.core.PsyNull
All Implemented Interfaces:
PsyAtomic, PsyObject

@Type("null") public final class PsyNull extends Object implements PsyAtomic
The representation of null, a type of a void placeholder. There is the only instance of this class, NULL.
  • Field Details

    • NULL

      public static final PsyNull NULL
      The sole null object.
  • Method Details

    • toSyntaxString

      public String toSyntaxString()
      Specified by:
      toSyntaxString in interface PsyObject
      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 is true if and only if other object has name type.
      Specified by:
      psyEq in interface PsyObject
      Returns:
      a result.