Package graphql.util
Class NodeZipper<T>
java.lang.Object
graphql.util.NodeZipper<T>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNodeZipper(T curNode, List<Breadcrumb<T>> breadcrumbs, NodeAdapter<T> nodeAdapter) NodeZipper(T curNode, List<Breadcrumb<T>> breadcrumbs, NodeAdapter<T> nodeAdapter, NodeZipper.ModificationType modificationType) -
Method Summary
Modifier and TypeMethodDescriptionList<Breadcrumb<T>> insertAfter(T toInsertAfter) insertBefore(T toInsertBefore) modifyNode(Function<T, T> transform) moveUp()static <T> NodeZipper<T> rootZipper(T rootNode, NodeAdapter<T> nodeAdapter) toRoot()toString()withNewNode(T newNode)
-
Constructor Details
-
NodeZipper
-
NodeZipper
public NodeZipper(T curNode, List<Breadcrumb<T>> breadcrumbs, NodeAdapter<T> nodeAdapter, NodeZipper.ModificationType modificationType)
-
-
Method Details