Package org.khelekore.prtree
Class AcceptAll<T>
- java.lang.Object
-
- org.khelekore.prtree.AcceptAll<T>
-
- All Implemented Interfaces:
NodeFilter<T>
public class AcceptAll<T> extends Object implements NodeFilter<T>
A filter that accepts all elements
-
-
Constructor Summary
Constructors Constructor Description AcceptAll()
-
-
-
Method Detail
-
accept
public boolean accept(T t)
Description copied from interface:NodeFilter
Check if the given node object is accepted- Specified by:
accept
in interfaceNodeFilter<T>
- Parameters:
t
- the node user data- Returns:
- True if the node is accepted, false otherwise
-
-