Method Summary |
|
public synchronized boolean | add(MethodInfo method) Adds a new Method instance to the MethodSet. |
public synchronized boolean | contains(MethodInfo method) Returns true if this MethodSet contains this Method instance.
Parameters: method - The method to be found. |
public synchronized Element | createRoot(String className, Date timeStamp) Creates a Document object from this MethodSet.
Parameters: className - the name of the class, if one exists. Parameters: timeStamp - the time stamp to include in this file. |
public synchronized MethodSet | difference(MethodSet methodSet) Updates this MethodSet with the difference between this MethodSet and the passed
MethodSet.
Parameters: methodSet - The methodSet whose elements are to be removed from this methodSet. |
public synchronized boolean | equals(MethodSet methodSet) Returns true if this MethodSet has the same set of elements as the passed MethodSet.
Parameters: methodSet - A MethodSet. |
public synchronized MethodSet | intersection(MethodSet methodSet) Updates this MethodSet with the intersection of this MethodSet and the passed
MethodSet.
Parameters: methodSet - The methodSet whose elements are to be removed from this methodSet. |
public synchronized boolean | isEmpty() Returns true if this MethodSet is empty. |
public synchronized Iterator | iterator() Returns an iterator over this MethodSet. |
public synchronized Date | load(InputStream stream) Adds the Method instances found in the passed stream to this MethodSet. |
public synchronized boolean | remove(MethodInfo method) Removes the specified Method from this MethodSet, if it is present.
Parameters: method - The method to be removed. |
public synchronized int | size() Returns the number of elements in this MethodSet (its cardinality). |
public synchronized void | store(OutputStream ostream, String className, Date timeStamp) Writes this MethodSet in XML format to the passed output stream. |
public synchronized String | toString() Provides a readable representation of the MethodSet. |
public synchronized MethodSet | union(MethodSet methodSet) Updates this MethodSet with the union of this MethodSet and the passed MethodSet.
Parameters: methodSet - The methodSet whose elements this methodSet is unioned with. |