Class Value

java.lang.Object
com.igormaznitsa.jcp.expression.Value
All Implemented Interfaces:
ExpressionItem

public final class Value extends Object implements ExpressionItem
The class describes an expression value i.e. an atomic constant expression item like string or number
See Also:
  • Field Details

    • BOOLEAN_TRUE

      public static final Value BOOLEAN_TRUE
    • BOOLEAN_FALSE

      public static final Value BOOLEAN_FALSE
    • INT_ZERO

      public static final Value INT_ZERO
    • INT_ONE

      public static final Value INT_ONE
    • INT_TWO

      public static final Value INT_TWO
    • INT_THREE

      public static final Value INT_THREE
    • INT_FOUR

      public static final Value INT_FOUR
    • INT_FIVE

      public static final Value INT_FIVE
    • value

      private final Object value
    • type

      private final ValueType type
  • Constructor Details

    • Value

      private Value(String val)
    • Value

      private Value(Long val)
    • Value

      private Value(Float val)
    • Value

      private Value(Boolean val)
  • Method Details