Package tech.ytsaurus.ysontree
Class YTreeBooleanNodeImpl
- java.lang.Object
-
- tech.ytsaurus.ysontree.YTreeNodeImpl
-
- tech.ytsaurus.ysontree.YTreeBooleanNodeImpl
-
- All Implemented Interfaces:
YTreeBooleanNode,YTreeNode,YTreeScalarNode<java.lang.Boolean>
public class YTreeBooleanNodeImpl extends YTreeNodeImpl implements YTreeBooleanNode
-
-
Constructor Summary
Constructors Constructor Description YTreeBooleanNodeImpl(boolean value, java.util.Map<java.lang.String,YTreeNode> attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object another)java.lang.BooleangetBoxedValue()booleangetValue()inthashCode()booleansetValue(boolean newValue)-
Methods inherited from class tech.ytsaurus.ysontree.YTreeNodeImpl
clearAttributes, containsAttribute, containsAttributes, equalsBase, getAttribute, getAttributeOrThrow, getAttributeOrThrow, getAttributes, hashCodeBase, putAttribute, removeAttribute, toBinary, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface tech.ytsaurus.ysontree.YTreeNode
asList, asMap, attributeKeys, attributeValues, booleanNode, boolValue, bytesValue, cast, clearAttributes, containsAttribute, containsAttributes, doubleNode, doubleValue, entityNode, floatValue, getAttribute, getAttributeOrThrow, getAttributeOrThrow, getAttributes, integerNode, intValue, isBooleanNode, isDoubleNode, isEntityNode, isIntegerNode, isListNode, isMapNode, isStringNode, listNode, longValue, mapNode, putAttribute, removeAttribute, scalarNode, stringNode, stringValue, toBinary
-
-
-
-
Constructor Detail
-
YTreeBooleanNodeImpl
public YTreeBooleanNodeImpl(boolean value, @Nullable java.util.Map<java.lang.String,YTreeNode> attributes)
-
-
Method Detail
-
getValue
public boolean getValue()
- Specified by:
getValuein interfaceYTreeBooleanNode
-
setValue
public boolean setValue(boolean newValue)
- Specified by:
setValuein interfaceYTreeBooleanNode
-
getBoxedValue
@Nonnull public java.lang.Boolean getBoxedValue()
- Specified by:
getBoxedValuein interfaceYTreeScalarNode<java.lang.Boolean>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object another)
- Overrides:
equalsin classjava.lang.Object
-
-