All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.anarres.graphviz.parser.node.NodeAccessor Maven / Gradle / Ivy

There is a newer version: 1.0.12
Show newest version
package org.anarres.graphviz.parser.node;

import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;

public class NodeAccessor {

    private NodeAccessor() {
    }

    public static void setParent(@Nonnull Node node, @CheckForNull Node parent) {
        node.parent(parent);
    }

    public static void removeChild(@Nonnull Node parent, @Nonnull Node child) {
        parent.removeChild(child);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy