Update of /cvsroot/javaprofiler/library/demo/02
In directory usw-pr-cvs1:/tmp/cvs-serv24727/demo/02
Modified Files:
Test.java
Log Message:
demo to introduce new features of Java IProf class added,
(net.sourceforge.javaprofiler.jpiimpl.commun.IProf)
Index: Test.java
===================================================================
RCS file: /cvsroot/javaprofiler/library/demo/02/Test.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Test.java 2001/11/21 22:31:52 1.1
--- Test.java 2001/12/03 16:26:25 1.2
***************
*** 49,53 ****
// ask for all methods of given class
! LinkedList listMethods = iprof.getAll( objId, IProf.CLASS_METHODS, true, 0);
ListIterator iterator = listMethods.listIterator();
--- 49,55 ----
// ask for all methods of given class
! LinkedList listMethods = iprof.getAll( objId, IProf.CLASS_METHODS,
! true, IProf.NO_OPTIONAL_ARG);
!
ListIterator iterator = listMethods.listIterator();
***************
*** 70,74 ****
// ask for all classes
! LinkedList listClasses = iprof.getAll( 0, IProf.CLASSES, true, 0);
ListIterator iterator = listClasses.listIterator();
--- 72,78 ----
// ask for all classes
! LinkedList listClasses = iprof.getAll( 0, IProf.CLASSES,
! true, IProf.NO_OPTIONAL_ARG);
!
ListIterator iterator = listClasses.listIterator();
|