CAR (Context-Aware Retrieval) v1.0

Class CommentTuple

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--CommentTuple
All Implemented Interfaces:
CarFace, java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable

public class CommentTuple
extends java.util.Vector
implements java.io.Serializable, CarFace

A CommentTuple is simply a vector of strings (comments).

The class is used within CAR to hold easily accessible comments for Collections, Documents, and Fields.

See Also:
Collection, Document, Field, Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Fields inherited from interface CarFace
BOOLEAN_LITERAL, COLLECTION, DOUBLE_LITERAL, EXTERNAL, grammarNames, INTERNAL, KEYPHRASE, LITERALcapacityIncrement, LITERALinitialCapacity, MARKUP, SERIAL, SESSION, STRING_LITERAL, STRINGVALUE_LITERAL
 
Constructor Summary
CommentTuple()
           
 
Method Summary
 java.lang.Object clone()
          provides a clone (copy) of this object.
static void t(java.lang.String s)
          Provides trace output of string if -dCommentTuple on command line of CAR run
 java.lang.String toString()
          converts the commentTuple to a string.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, 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, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

CommentTuple

public CommentTuple()
Method Detail

t

public static final void t(java.lang.String s)
Provides trace output of string if -dCommentTuple on command line of CAR run

clone

public java.lang.Object clone()
provides a clone (copy) of this object.
Overrides:
clone in class java.util.Vector

toString

public java.lang.String toString()
converts the commentTuple to a string. Individual comments are enclosed in HTML comment start-end tags the the results are concatenated.
Overrides:
toString in class java.util.Vector
Returns:
a string represention of the commentTuple.

CAR (Context-Aware Retrieval) v1.0

Submit bugs to Lindsey