From: Pavel V. <va...@us...> - 2002-03-01 11:41:46
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data In directory usw-pr-cvs1:/tmp/cvs-serv12851/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data Modified Files: MethodData.java ThreadData.java Log Message: doc changes Index: MethodData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MethodData.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** MethodData.java 16 Feb 2002 16:21:53 -0000 1.13 --- MethodData.java 1 Mar 2002 11:41:43 -0000 1.14 *************** *** 73,78 **** private Map allocThreads; /** ! * Map of classes whose instances were allocated in this method. ! * Mapping of {@link AllocClassMethodData} objects and class IDs. */ private Map types; --- 73,78 ---- private Map allocThreads; /** ! * Map of types (classes or arrays of classes) whose instances were allocated in this method. ! * Mapping of {@link AllocTypeMethodData} objects and class IDs. */ private Map types; *************** *** 293,299 **** /** ! * Returns map of classes whose instances were allocated in this method. * ! * @return mapping of {@link AllocClassMethodData} objects and class IDs. */ public Map getTypes() { --- 293,299 ---- /** ! * Returns map of types (classes or arrays of classes) whose instances were allocated in this method. * ! * @return mapping of {@link AllocTypeMethodData} objects and type IDs. */ public Map getTypes() { *************** *** 302,322 **** /** ! * Adds allocClass whose were allocated in this method. AllocClass ! * can be instance of class its array. * ! * @param allocClass allocClass that were allocated in this method. */ ! void addType(AllocTypeMethodData allocClass) { if ( types == Collections.EMPTY_MAP ) types = new HashMap(); ! types.put(new Integer(allocClass.getID()), allocClass); } /** ! * Returns class (with given ID) whose instances were allocated * in this method. * ! * @param ID ID of the class. ! * @return class (with given ID) whose instances were allocated * in this method or <code>null</code> if such class does not exist. */ --- 302,322 ---- /** ! * Adds type that was allocated in this method. Type ! * can be instance of class or its array. * ! * @param allocType allocType that was allocated in this method. */ ! void addType(AllocTypeMethodData allocType) { if ( types == Collections.EMPTY_MAP ) types = new HashMap(); ! types.put(new Integer(allocType.getID()), allocType); } /** ! * Returns type (with given ID) whose instances were allocated * in this method. * ! * @param ID ID of the type. ! * @return type (with given ID) whose instances were allocated * in this method or <code>null</code> if such class does not exist. */ *************** *** 548,551 **** --- 548,554 ---- /* * $Log$ + * Revision 1.14 2002/03/01 11:41:43 vachis + * doc changes + * * Revision 1.13 2002/02/16 16:21:53 vachis * code refacorization Class.. to Type... (forgotten methods) Index: ThreadData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/ThreadData.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** ThreadData.java 16 Feb 2002 16:21:52 -0000 1.14 --- ThreadData.java 1 Mar 2002 11:41:43 -0000 1.15 *************** *** 45,50 **** private List children; /** ! * Map of classes whose instances were allocated in this thread. ! * Mapping of {@link AllocThreadClassData} objects and class IDs. */ private Map types; --- 45,50 ---- private List children; /** ! * Map of types (classes or arrays of classes) whose instances were allocated in this thread. ! * Mapping of {@link AllocThreadTypeData} objects and types IDs. */ private Map types; *************** *** 179,185 **** /** ! * Returns map of classes whose instances were allocated in this thread. * ! * @return mapping of {@link AllocThreadClassData} objects and class IDs. */ public Map getTypes() { --- 179,185 ---- /** ! * Returns map of types (classes or arrays of classes) whose instances were allocated in this thread. * ! * @return mapping of {@link AllocThreadTypeData} objects and types IDs. */ public Map getTypes() { *************** *** 188,199 **** /** ! * Adds allocClass whose were allocated in this thread. AllocClass ! * can be instance of class its array. * ! * @param allocClass allocClass that were allocated in this thread. */ ! void addType(AllocThreadTypeData allocClass) { //FIXME: ! types.put(new Integer(allocClass.getID()), allocClass); } --- 188,199 ---- /** ! * Adds type that was allocated in this thread. Type ! * can be instance of class or its array. * ! * @param allocType allocType that were allocated in this thread. */ ! void addType(AllocThreadTypeData allocType) { //FIXME: ! types.put(new Integer(allocType.getID()), allocType); } *************** *** 300,303 **** --- 300,306 ---- /* * $Log$ + * Revision 1.15 2002/03/01 11:41:43 vachis + * doc changes + * * Revision 1.14 2002/02/16 16:21:52 vachis * code refacorization Class.. to Type... (forgotten methods) |