Class NodeAlias


  • public class NodeAlias
    extends Object
    A user-defined name for a node, which may be used when displaying the node in a graph. Since node aliases are provided by third parties, they are a potential avenue for injection attacks. Care must be taken when processing.
    • Method Detail

      • get_a

        public byte[] get_a()
      • set_a

        public void set_a​(byte[] val)
      • of

        public static NodeAlias of​(byte[] a_arg)
        Constructs a new NodeAlias given each field
      • clone

        public NodeAlias clone()
        Creates a copy of the NodeAlias
        Overrides:
        clone in class Object
      • eq

        public boolean eq​(NodeAlias b)
        Checks if two NodeAliass contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields. Two objects with NULL inner values will be considered "equal" here.
      • write

        public byte[] write()
        Serialize the NodeAlias object into a byte array which can be read by NodeAlias_read