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 boolean
equals(java.lang.Object another)
java.lang.String
getBoxedValue()
byte[]
getBytes()
java.lang.String
getValue()
int
hashCode()
byte[]
setBytes(byte[] newBytes)
java.lang.String
setValue(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:
getValue
in interfaceYTreeStringNode
-
setValue
public java.lang.String setValue(java.lang.String newValue)
- Specified by:
setValue
in interfaceYTreeStringNode
-
getBytes
public byte[] getBytes()
- Specified by:
getBytes
in interfaceYTreeStringNode
-
setBytes
public byte[] setBytes(byte[] newBytes)
- Specified by:
setBytes
in interfaceYTreeStringNode
-
getBoxedValue
@Nonnull public java.lang.String getBoxedValue()
- Specified by:
getBoxedValue
in interfaceYTreeScalarNode<java.lang.String>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object another)
- Overrides:
equals
in classjava.lang.Object
-
-