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 boolean
equals(java.lang.Object another)
java.lang.Double
getBoxedValue()
double
getValue()
int
hashCode()
double
setValue(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:
getValue
in interfaceYTreeDoubleNode
-
setValue
public double setValue(double newValue)
- Specified by:
setValue
in interfaceYTreeDoubleNode
-
getBoxedValue
@Nonnull public java.lang.Double getBoxedValue()
- Specified by:
getBoxedValue
in interfaceYTreeScalarNode<java.lang.Double>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object another)
- Overrides:
equals
in classjava.lang.Object
-
-