Package com.singularsys.jep.walkers

# Class SerializableExpression.Constant

java.lang.Object
com.singularsys.jep.walkers.SerializableExpression.Constant

All Implemented Interfaces:
  `SerializableExpression.Element`

Enclosing class:
  `SerializableExpression`

public static class SerializableExpression.Constant extends Object implements SerializableExpression.Element
An element representing a constant value.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addHooks(Map<Node.HookKey,Object> hooks)`
  `void`
  `extract(Stack<Node> stack, Jep j)`
  `Object`
  `getValue()`
  `String`
  `toString()`
  `void`
  `write(ObjectOutput oos)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### addHooks

    public void addHooks(Map<Node.HookKey,Object> hooks)
    Specified by:
      `addHooks` in interface `SerializableExpression.Element`

  - ### extract

    public void extract(Stack<Node> stack, Jep j) throws ParseException
    Specified by:
      `extract` in interface `SerializableExpression.Element`
    Throws:
      `ParseException`

  - ### write

    public void write(ObjectOutput oos) throws IOException
    Specified by:
      `write` in interface `SerializableExpression.Element`
    Throws:
      `IOException`

  - ### getValue

    public Object getValue()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`