snaker-core/src/main/java/org/snaker/engine/model/ProcessModel.java
public <T> boolean containsNodeNames(Class<T> T, String... nodeNames) {
		for(NodeModel node : nodes) {
			if(!T.isInstance(node)) {
				continue;
			}
			for(String nodeName : nodeNames) {
				if(node.getName().equals(nodeName)) {
					return true;
				}
			}
		}
		return false;
	}
public <T> boolean containsNodeNames(Class<T> T, String... nodeNames) {
		for(NodeModel node : nodes) {
			if(!T.isInstance(node)) {
				continue;
			}
			for(String nodeName : nodeNames) {
				if(node.getName().equals(nodeName)) {
					return true;
				}
			}
		}
		return false;
	}
public < T > boolean containsNodeNames ( Class < T > T , String ... nodeNames ) { for ( NodeModel node : nodes ) { if ( ! T . isInstance ( node ) ) { continue ; } for ( String nodeName : nodeNames ) { if ( node . getName ( ) . equals ( nodeName ) ) { return true ; } } } return false ; }
判断当前模型的节点是否包含给定的节点名称参数
@param nodeNames 节点名称数组
@return
判断当前模型的节点是否包含给定的节点名称参数