Package tech.ytsaurus.ysontree
Class YTreeDoubleNodeImpl
- java.lang.Object
-
- tech.ytsaurus.ysontree.YTreeNodeImpl
-
- tech.ytsaurus.ysontree.YTreeDoubleNodeImpl
-
- All Implemented Interfaces:
YTreeDoubleNode,YTreeNode,YTreeScalarNode<java.lang.Double>
public class YTreeDoubleNodeImpl extends YTreeNodeImpl implements YTreeDoubleNode
-
-
Constructor Summary
Constructors Constructor Description YTreeDoubleNodeImpl(double 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.DoublegetBoxedValue()doublegetValue()inthashCode()doublesetValue(double 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
-
YTreeDoubleNodeImpl
public YTreeDoubleNodeImpl(double value, @Nullable java.util.Map<java.lang.String,YTreeNode> attributes)
-
-
Method Detail
-
getValue
public double getValue()
- Specified by:
getValuein interfaceYTreeDoubleNode
-
setValue
public double setValue(double newValue)
- Specified by:
setValuein interfaceYTreeDoubleNode
-
getBoxedValue
@Nonnull public java.lang.Double getBoxedValue()
- Specified by:
getBoxedValuein interfaceYTreeScalarNode<java.lang.Double>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object another)
- Overrides:
equalsin classjava.lang.Object
-
-