com.rubecula.util
Class AuditableVector
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
com.rubecula.util.AuditableVector
- All Implemented Interfaces:
- Auditable, Identifiable, Serializable, Cloneable, Iterable, Collection, List, RandomAccess
- Direct Known Subclasses:
- Darwinian_Abstract, Genome_Abstract, Genotype_Abstract
public class AuditableVector
- extends Vector
- implements Auditable
This class is an auditable extension of Vector.
- Version:
- $Revision: 1.4 $
- Author:
- Robin Hillyard
- See Also:
- Serialized Form
|
Method Summary |
String |
audit()
Method to return a detailed (unlabeled) string from an object for debugging purposes. |
void |
audit(PrintWriter out,
String label)
Method to output detailed string from an object for debugging purposes. |
String |
audit(String label)
Method to return a detailed (labeled) string from an object for debugging purposes. |
String |
getIdentifier()
Method to get the specific identifier for an object. |
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
AuditableVector
public AuditableVector()
AuditableVector
public AuditableVector(String identifier)
audit
public String audit()
- Method to return a detailed (unlabeled) string from an object for debugging purposes.
This string does not enumerate the elements of this object -
rather it creates a summary.
- Specified by:
audit in interface Auditable
- Returns:
- the detailed string.
audit
public void audit(PrintWriter out,
String label)
- Method to output detailed string from an object for debugging purposes.
- Specified by:
audit in interface Auditable
- Parameters:
out - the output stream.label - the label to attach to the output (may be null).
audit
public String audit(String label)
- Method to return a detailed (labeled) string from an object for debugging purposes.
This string does not enumerate the elements of this object -
rather it creates a summary.
- Specified by:
audit in interface Auditable
- Parameters:
label - the label by which to identify this audit.
- Returns:
- the detailed string.
getIdentifier
public String getIdentifier()
- Description copied from interface:
Identifiable
- Method to get the specific identifier for an object.
- Specified by:
getIdentifier in interface Identifiable
- Returns:
- the identifier.