IT. Expert System.

Java Standard Edition (SE)

TreePathScanner


com.sun.source.util

Class TreePathScanner<R,P>

  • All Implemented Interfaces:
    TreeVisitor<R,P>


    @Exported
    public class TreePathScanner<R,P>
    extends TreeScanner<R,P>
    A TreeVisitor that visits all the child tree nodes, and provides support for maintaining a path for the parent nodes. To visit nodes of a particular type, just override the corresponding visitorXYZ method. Inside your method, call super.visitXYZ to visit descendant nodes.
    Since:
    1.6
    • Constructor Detail

      • TreePathScanner

        public TreePathScanner()
    • Method Detail

      • scan

        public R scan(TreePath path,
                      P p)
        Scan a tree from a position identified by a TreePath.
      • scan

        public R scan(Tree tree,
                      P p)
        Scan a single node. The current path is updated for the duration of the scan.
        Overrides:
        scan in class TreeScanner<R,P>
      • getCurrentPath

        public TreePath getCurrentPath()
        Get the current path for the node, as built up by the currently active set of scan calls.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 275 / 158697784. Delta: 0.04297 с