Class YTreeNodeImpl

    • Constructor Detail

      • YTreeNodeImpl

        public YTreeNodeImpl​(@Nullable
                             java.util.Map<java.lang.String,​YTreeNode> attributes)
    • Method Detail

      • getAttributes

        public java.util.Map<java.lang.String,​YTreeNode> getAttributes()
        Description copied from interface: YTreeNode
        Get attribute map of an object. Return empty map if object doesn't have attributes.
        Specified by:
        getAttributes in interface YTreeNode
      • containsAttribute

        public boolean containsAttribute​(java.lang.String key)
        Specified by:
        containsAttribute in interface YTreeNode
      • getAttributeOrThrow

        public YTreeNode getAttributeOrThrow​(java.lang.String key,
                                             java.util.function.Supplier<java.lang.String> createMessage)
        Specified by:
        getAttributeOrThrow in interface YTreeNode
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toBinary

        public byte[] toBinary()
        Description copied from interface: YTreeNode
        Get binary yson representation of value.
        Specified by:
        toBinary in interface YTreeNode
        See Also:
        YsonBinaryWriter
      • hashCodeBase

        protected int hashCodeBase()
      • equalsBase

        protected boolean equalsBase​(YTreeNode another0)