Class Identifier

    • Method Detail

      • of

        public static Identifier of​(java.lang.String name)
        Creates an Identifier from the given name.
        Parameters:
        name - the name of the identifier to create.
        Returns:
        the created Identifier.
      • of

        public static Identifier of​(StringNode name)
        Creates an Identifier from the given name.
        Parameters:
        name - the name of the identifier to create.
        Returns:
        the created Identifier.
      • getName

        public StringNode getName()
        Gets the name of this identifier.
        Returns:
        a node containing the name of the identifier.
      • toNode

        public Node toNode()
        Description copied from interface: ToNode
        Converts a value to a Node.
        Specified by:
        toNode in interface ToNode
        Returns:
        Returns the creates Node.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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