MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / isAncestorOfAny

Method isAncestorOfAny

src/main/java/org/htmlunit/html/DomNode.java:356–363  ·  view source on GitHub ↗

Returns true if this node is an ancestor of the specified nodes. @param nodes the nodes to check @return true if this node is an ancestor of the specified nodes

(final DomNode... nodes)

Source from the content-addressed store, hash-verified

354 * @return {@code true} if this node is an ancestor of the specified nodes
355 */
356 public boolean isAncestorOfAny(final DomNode... nodes) {
357 for (final DomNode node : nodes) {
358 if (isAncestorOf(node)) {
359 return true;
360 }
361 }
362 return false;
363 }
364
365 /**
366 * {@inheritDoc}

Callers

nothing calls this directly

Calls 1

isAncestorOfMethod · 0.95

Tested by

no test coverage detected