Class AcceptAll<T>

  • All Implemented Interfaces:
    NodeFilter<T>

    public class AcceptAll<T>
    extends Object
    implements NodeFilter<T>
    A filter that accepts all elements
    • Constructor Detail

      • AcceptAll

        public 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 interface NodeFilter<T>
        Parameters:
        t - the node user data
        Returns:
        True if the node is accepted, false otherwise