Uses of Class
org.variantsync.diffdetective.variation.tree.VariationTreeNode
Packages that use VariationTreeNode
Package
Description
-
Uses of VariationTreeNode in org.variantsync.diffdetective.variation.diff.bad
Fields in org.variantsync.diffdetective.variation.diff.bad with type parameters of type VariationTreeNodeModifier and TypeFieldDescriptionprivate final Map<VariationTreeNode<L>, DiffType> BadVDiff.coloringThe field for thecoloringrecord component.private final Map<VariationTreeNode<L>, DiffLineNumberRange> BadVDiff.linesThe field for thelinesrecord component.private final Map<VariationTreeNode<L>, VariationTreeNode<L>> BadVDiff.matchingThe field for thematchingrecord component.private final Map<VariationTreeNode<L>, VariationTreeNode<L>> BadVDiff.matchingThe field for thematchingrecord component.BadVDiff.FromGoodNodeTranslation.translateMethods in org.variantsync.diffdetective.variation.diff.bad that return VariationTreeNodeModifier and TypeMethodDescriptionprivate static <L extends Label>
VariationTreeNode<L> BadVDiff.fromGood(DiffNode<L> n, BadVDiff.FromGoodNodeTranslation<L> nodeTranslation, Map<VariationTreeNode<L>, DiffType> coloring, Map<VariationTreeNode<L>, DiffLineNumberRange> lines) Performs aplainconversion of the given DiffNode n to a VariationTreeNode.(package private) VariationTreeNode<L> Returns the VariationTreeNode that represents the given DiffNode d at the given time t in the produced bad diff.private static <L extends Label>
VariationTreeNode<L> Plain conversion of DiffNodes to VariationTree nodes.Methods in org.variantsync.diffdetective.variation.diff.bad that return types with arguments of type VariationTreeNodeModifier and TypeMethodDescriptionBadVDiff.coloring()Returns the value of thecoloringrecord component.BadVDiff.lines()Returns the value of thelinesrecord component.BadVDiff.matching()Returns the value of thematchingrecord component.BadVDiff.matching()Returns the value of thematchingrecord component.Methods in org.variantsync.diffdetective.variation.diff.bad with parameters of type VariationTreeNodeModifier and TypeMethodDescriptionBadVDiff.mergeToGood(VariationTreeNode<L> before, VariationTreeNode<L> after) Merges two VariationTreeNodes that represent the same node to a single unchanged DiffNode.private voidBadVDiff.prettyPrint(String indent, StringBuilder b, VariationTreeNode<L> n) (package private) voidRemember that the given DiffNode d was translated to the given VariationTreeNode v at time t.(package private) voidBadVDiff.FromGoodNodeTranslation.put(DiffNode<L> d, VariationTreeNode<L> v) Remember that the given DiffNode d was translated to the given VariationTreeNode v at all times d exists.BadVDiff.toGood(VariationTreeNode<L> n) Method parameters in org.variantsync.diffdetective.variation.diff.bad with type arguments of type VariationTreeNodeModifier and TypeMethodDescriptionprivate static <L extends Label>
VariationTreeNode<L> BadVDiff.fromGood(DiffNode<L> n, BadVDiff.FromGoodNodeTranslation<L> nodeTranslation, Map<VariationTreeNode<L>, DiffType> coloring, Map<VariationTreeNode<L>, DiffLineNumberRange> lines) Performs aplainconversion of the given DiffNode n to a VariationTreeNode.Constructor parameters in org.variantsync.diffdetective.variation.diff.bad with type arguments of type VariationTreeNodeModifierConstructorDescriptionBadVDiff(VariationTree<L> diff, Map<VariationTreeNode<L>, VariationTreeNode<L>> matching, Map<VariationTreeNode<L>, DiffType> coloring, Map<VariationTreeNode<L>, DiffLineNumberRange> lines) Creates an instance of aBadVDiffrecord class.BadVDiff(VariationTree<L> diff, Map<VariationTreeNode<L>, VariationTreeNode<L>> matching, Map<VariationTreeNode<L>, DiffType> coloring, Map<VariationTreeNode<L>, DiffLineNumberRange> lines) Creates an instance of aBadVDiffrecord class. -
Uses of VariationTreeNode in org.variantsync.diffdetective.variation.tree
Fields in org.variantsync.diffdetective.variation.tree declared as VariationTreeNodeModifier and TypeFieldDescriptionprivate VariationTreeNode<L> VariationTreeNode.parentThe parent of this node.private final VariationTreeNode<L> VariationTree.rootThe field for therootrecord component.Fields in org.variantsync.diffdetective.variation.tree with type parameters of type VariationTreeNodeModifier and TypeFieldDescriptionprivate final List<VariationTreeNode<L>> VariationTreeNode.childOrderThe list for maintaining the order of all children of this node.Methods in org.variantsync.diffdetective.variation.tree that return VariationTreeNodeModifier and TypeMethodDescriptionstatic <L extends Label>
VariationTreeNode<L> VariationTreeNode.createArtifact(LineRange lineRange, L label) Convenience constructor for creating an artifact node of aVariationTree.static <L extends Label>
VariationTreeNode<L> VariationTreeNode.createRoot(L label) Convenience constructor for creating the root of aVariationTree.VariationTreeNode.deepCopy()Creates a deep copy of this node.VariationTreeNode.deepCopy(Map<VariationTreeNode<L>, VariationTreeNode<L>> oldToNew) Creates a deep copy of this node.static <L extends Label>
VariationTreeNode<L> VariationTreeNode.fromID(int id, L label) Reconstructs a node from the givenidand label.VariationTreeNode.getParent()VariationTree.root()Returns the value of therootrecord component.VariationNode.toVariationTree()Returns a copy of this variation tree in aconcrete variation tree implementation.VariationNode.toVariationTree(Map<? super T, VariationTreeNode<L>> oldToNew) Returns a copy of this variation tree in aconcrete variation tree implementation.VariationTreeNode.upCast()Methods in org.variantsync.diffdetective.variation.tree that return types with arguments of type VariationTreeNodeMethods in org.variantsync.diffdetective.variation.tree with parameters of type VariationTreeNodeModifier and TypeMethodDescriptionvoidVariationTreeNode.addChild(VariationTreeNode<L> child) booleanVariationTree.contains(VariationTreeNode<L> node) Returns true iff this tree contains the given node.voidVariationTreeNode.insertChild(VariationTreeNode<L> child, int index) voidVariationTreeNode.removeChild(VariationTreeNode<L> child) private voidVariationTreeNode.setParent(VariationTreeNode<L> newParent) SetsnewParentas the new parent of this node.Method parameters in org.variantsync.diffdetective.variation.tree with type arguments of type VariationTreeNodeModifier and TypeMethodDescriptionbooleanVariationTree.anyMatch(Predicate<VariationTreeNode<L>> condition) Checks whether any node in this tree satisfies the given condition.VariationTree.deepCopy(Map<VariationTreeNode<L>, VariationTreeNode<L>> oldToNew) Creates a deep copy of this variation tree.VariationTree.deepCopy(Map<VariationTreeNode<L>, VariationTreeNode<L>> oldToNew) Creates a deep copy of this variation tree.VariationTreeNode.deepCopy(Map<VariationTreeNode<L>, VariationTreeNode<L>> oldToNew) Creates a deep copy of this node.VariationTreeNode.deepCopy(Map<VariationTreeNode<L>, VariationTreeNode<L>> oldToNew) Creates a deep copy of this node.VariationTree.forAllPreorder(Consumer<VariationTreeNode<L>> action) Invokes the given callback for each node in this Variation Tree in depth-first order.VariationTree.toVariationDiff(Function<VariationTreeNode<L>, DiffNode<L>> nodeConverter) VariationNode.toVariationTree(Map<? super T, VariationTreeNode<L>> oldToNew) Returns a copy of this variation tree in aconcrete variation tree implementation.Constructors in org.variantsync.diffdetective.variation.tree with parameters of type VariationTreeNodeModifierConstructorDescriptionVariationTree(VariationTreeNode<L> root) Creates aVariationTreewith the given root and an unknown source.VariationTree(VariationTreeNode<L> root, VariationTreeSource source) Creates aVariationTreewith the given root and source. -
Uses of VariationTreeNode in org.variantsync.diffdetective.variation.tree.graph
Fields in org.variantsync.diffdetective.variation.tree.graph declared as VariationTreeNodeModifier and TypeFieldDescriptionprivate final VariationTreeNode<L> FormalTreeGraph.Edge.childThe field for thechildrecord component.private final VariationTreeNode<L> FormalTreeGraph.Edge.parentThe field for theparentrecord component.Fields in org.variantsync.diffdetective.variation.tree.graph with type parameters of type VariationTreeNodeModifier and TypeFieldDescriptionprivate final Set<VariationTreeNode<L>> FormalTreeGraph.nodesThe field for thenodesrecord component.Methods in org.variantsync.diffdetective.variation.tree.graph that return VariationTreeNodeModifier and TypeMethodDescriptionFormalTreeGraph.Edge.child()Returns the value of thechildrecord component.FormalTreeGraph.Edge.parent()Returns the value of theparentrecord component.Methods in org.variantsync.diffdetective.variation.tree.graph that return types with arguments of type VariationTreeNodeModifier and TypeMethodDescriptionFormalTreeGraph.nodes()Returns the value of thenodesrecord component.Constructors in org.variantsync.diffdetective.variation.tree.graph with parameters of type VariationTreeNodeModifierConstructorDescriptionEdge(VariationTreeNode<L> child, VariationTreeNode<L> parent) Creates an instance of aEdgerecord class.Constructor parameters in org.variantsync.diffdetective.variation.tree.graph with type arguments of type VariationTreeNodeModifierConstructorDescriptionFormalTreeGraph(Set<VariationTreeNode<L>> nodes, Set<FormalTreeGraph.Edge<L>> edges) Creates an instance of aFormalTreeGraphrecord class.