Package graphql.util
Class NodeMultiZipper<T>
java.lang.Object
graphql.util.NodeMultiZipper<T>
-
Constructor Summary
ConstructorsConstructorDescriptionNodeMultiZipper(T commonRoot, List<NodeZipper<T>> zippers, NodeAdapter<T> nodeAdapter) -
Method Summary
Modifier and TypeMethodDescriptiongetZipperForNode(T node) List<NodeZipper<T>> static <T> NodeMultiZipper<T> newNodeMultiZipperTrusted(T commonRoot, List<NodeZipper<T>> zippers, NodeAdapter<T> nodeAdapter) intsize()withNewZipper(NodeZipper<T> newZipper) withReplacedZipper(NodeZipper<T> oldZipper, NodeZipper<T> newZipper) withReplacedZipperForNode(T currentNode, T newNode) withReplacedZippers(List<NodeZipper<T>> zippers)
-
Constructor Details
-
NodeMultiZipper
-
-
Method Details
-
newNodeMultiZipperTrusted
public static <T> NodeMultiZipper<T> newNodeMultiZipperTrusted(T commonRoot, List<NodeZipper<T>> zippers, NodeAdapter<T> nodeAdapter) -
toRootNode
- Returns:
- can be null if the root node is marked as deleted
-
getCommonRoot
-
getZippers
-
size
public int size() -
getZipperForNode
-
withReplacedZippers
-
withNewZipper
-
withReplacedZipper
-
withReplacedZipperForNode
-