public class StringValue extends Value
Constructor and Description |
---|
StringValue(ValueType type,
java.lang.String value)
Used to create a instance of the class
|
Modifier and Type | Method and Description |
---|---|
Value |
equals(Value value)
Used to perform a
== operation between this value and the value in the
parameter |
Value |
notequals(Value value)
Used to perform a
!= operation between this value and the value in the
parameter |
java.lang.String |
stringValue()
Get the value as a boolean
|
java.lang.String |
toString() |
public StringValue(ValueType type, java.lang.String value)
type
- The type of the valuevalue
- The raw valuepublic java.lang.String stringValue()
public java.lang.String toString()
toString
in class java.lang.Object
public Value notequals(Value value)
!=
operation between this value and the value in the
parameter