dfh.treepath
Interface NodeTest<N>

Type Parameters:
N - node type
All Superinterfaces:
Serializable
All Known Implementing Classes:
TrueTest

public interface NodeTest<N>
extends Serializable

Tests to see whether the given node has some condition.

Author:
David F. Houghton - May 5, 2012

Method Summary
 boolean passes(N n, Index<N> i)
          Tests the node
 

Method Detail

passes

boolean passes(N n,
               Index<N> i)
Tests the node

Parameters:
n - context node
i - tree index
Returns:
whether the node passes the test