KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > puppycrawl > tools > checkstyle > bcel > IObjectSetVisitor


1 //Tested with BCEL-5.1
2
//http://jakarta.apache.org/builds/jakarta-bcel/release/v5.1/
3

4 package com.puppycrawl.tools.checkstyle.bcel;
5
6 import java.util.Set JavaDoc;
7
8 /**
9  * Object set visitor for a general set.
10  * @author Rick Giles
11  */

12 public interface IObjectSetVisitor
13 {
14     /**
15      * Visit a set itself.
16      * @param aSet the set.
17      */

18     void visitSet(Set JavaDoc aSet);
19
20     /**
21      * Finish the visit of a set.
22      * @param aSet the set.
23      */

24     void leaveSet(Set JavaDoc aSet);
25
26     /**
27      * Visit an object. Normally this is an object of the set.
28      * @param aObject the object.
29      */

30     void visitObject(Object JavaDoc aObject);
31
32     /**
33      * Finish the visit an object. Normally this is an object of the set.
34      * @param aObject the object.
35      */

36     void leaveObject(Object JavaDoc aObject);
37 }
38
Popular Tags