public class NodeUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static GPNode[] |
cloneNodes(GPNode[] origNodes)
a method that creates a new array of GPNodes with copies of the original GPNodes
The domain beans associated with the GPNodes are not copied.
|
static GPNode[] |
copyToNewGPNodeArray(GPNode[] origNodes)
Deprecated.
-- this should use a FilterNode
|
static boolean |
haveOneCommonParent(GPNode[] nodes)
checks whether the nodes in the array all have a common parent
|
public static GPNode[] copyToNewGPNodeArray(GPNode[] origNodes)
origNodes - the nodes with children that need to be cut offpublic static boolean haveOneCommonParent(GPNode[] nodes)