Interface MutableGraph.IntAbstraction<E,​NP,​EP>

    • Method Detail

      • addIntNode

        default int addIntNode()
        Int-abstracted version of MutableGraph.addNode().
        Returns:
        the (int-abstracted) id of the newly inserted node
      • addIntNode

        int addIntNode​(@Nullable NP property)
        Int-abstracted version of MutableGraph.addNode(Object).
        Parameters:
        property - the property of the new node
        Returns:
        the (int-abstracted) id of the newly inserted node
      • connect

        E connect​(int source,
                  int target,
                  EP property)
        Parameters:
        source - the (int-abstracted) id of the source node
        target - the (int-abstracted) id of the target node
        property - the property of the edge
        Returns:
        the newly created edge
      • setNodeProperty

        void setNodeProperty​(int node,
                             NP property)
        Parameters:
        node - the (int-abstracted) id of the node
        property - the property of the node