Package tech.ytsaurus.ysontree
Class YTreeStringNodeImpl
- java.lang.Object
-
- tech.ytsaurus.ysontree.YTreeNodeImpl
-
- tech.ytsaurus.ysontree.YTreeStringNodeImpl
-
- All Implemented Interfaces:
YTreeNode,YTreeScalarNode<java.lang.String>,YTreeStringNode
public class YTreeStringNodeImpl extends YTreeNodeImpl implements YTreeStringNode
-
-
Constructor Summary
Constructors Constructor Description YTreeStringNodeImpl(byte[] bytes, java.util.Map<java.lang.String,YTreeNode> attributes)YTreeStringNodeImpl(java.lang.String 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.StringgetBoxedValue()byte[]getBytes()java.lang.StringgetValue()inthashCode()byte[]setBytes(byte[] newBytes)java.lang.StringsetValue(java.lang.String 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
-
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
- Specified by:
getValuein interfaceYTreeStringNode
-
setValue
public java.lang.String setValue(java.lang.String newValue)
- Specified by:
setValuein interfaceYTreeStringNode
-
getBytes
public byte[] getBytes()
- Specified by:
getBytesin interfaceYTreeStringNode
-
setBytes
public byte[] setBytes(byte[] newBytes)
- Specified by:
setBytesin interfaceYTreeStringNode
-
getBoxedValue
@Nonnull public java.lang.String getBoxedValue()
- Specified by:
getBoxedValuein interfaceYTreeScalarNode<java.lang.String>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object another)
- Overrides:
equalsin classjava.lang.Object
-
-