Class Value.Bool
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.eval.Value
-
- software.amazon.smithy.rulesengine.language.eval.Value.Bool
-
- All Implemented Interfaces:
FromSourceLocation,ToNode
- Enclosing class:
- Value
public static final class Value.Bool extends Value
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.smithy.rulesengine.language.eval.Value
Value.Array, Value.Bool, Value.Endpoint, Value.Integer, Value.None, Value.Record, Value.String
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)booleanexpectBool()inthashCode()NodetoNode()Converts a value to aNode.java.lang.StringtoString()Typetype()-
Methods inherited from class software.amazon.smithy.rulesengine.language.eval.Value
array, bool, endpointFromNode, expectArray, expectEndpoint, expectInteger, expectRecord, expectString, fromNode, getSourceLocation, integer, isNone, none, record, string
-
-
-
-
Method Detail
-
expectBool
public boolean expectBool()
- Overrides:
expectBoolin classValue
-
toNode
public Node toNode()
Description copied from interface:ToNodeConverts a value to aNode.- Returns:
- Returns the creates Node.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-