Package ch.nolix.core.document.node
Klasse NodeComparator
java.lang.Object
ch.nolix.core.document.node.NodeComparator
- Alle implementierten Schnittstellen:
INodeComparator
- Version:
- 2025-01-01
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanbooleanhaveEqualChildNodesConstellationLikeNodes(INode<?> node1, INode<?> node2) booleanhaveEqualHeaderConstellationLikeNode(INode<?> node1, INode<?> node2)
-
Konstruktordetails
-
NodeComparator
public NodeComparator()
-
-
Methodendetails
-
areEqual
- Angegeben von:
areEqualin SchnittstelleINodeComparator- Parameter:
node1-node2-- Gibt zurück:
- true if the given node1 equals the given node2, false otherwise.
-
haveEqualChildNodesConstellationLikeNodes
- Angegeben von:
haveEqualChildNodesConstellationLikeNodesin SchnittstelleINodeComparator- Parameter:
node1-node2-- Gibt zurück:
- true if the given ndoe1 and node2 have an equal child
INodes constellation, false otherwise.
-
haveEqualHeaderConstellationLikeNode
- Angegeben von:
haveEqualHeaderConstellationLikeNodein SchnittstelleINodeComparator- Parameter:
node1-node2-- Gibt zurück:
- true if the given ndoe1 and node2 have an equal header constellation, false otherwise.
-