org.suigeneris.jrcs.rcs.impl
Class Lines

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by org.suigeneris.jrcs.rcs.impl.Lines
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class Lines
extends java.util.ArrayList

A list of the lines in the text of a revision annotated with the version that corresponds to each line.

Version:
$Id: Lines.java,v 1.1 2006/06/08 15:07:11 juanca Exp $
Author:
Juanco Anez
See Also:
Line, Archive, Serialized Form

Field Summary
static java.text.Format annotationFormat
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Lines()
           
Lines(Node release, java.lang.Object[] text)
           
Lines(Node release, java.lang.String text)
           
Lines(java.lang.Object[] text)
           
Lines(java.lang.String text)
           
 
Method Summary
 boolean add(java.lang.Object o)
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(boolean annotate)
           
 java.lang.String toString()
           
 java.lang.String toString(boolean annotate)
           
 
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

annotationFormat

public static final java.text.Format annotationFormat
Constructor Detail

Lines

public Lines()

Lines

public Lines(java.lang.String text)

Lines

public Lines(Node release,
             java.lang.String text)

Lines

public Lines(java.lang.Object[] text)

Lines

public Lines(Node release,
             java.lang.Object[] text)
Method Detail

add

public boolean add(java.lang.Object o)
Specified by:
add in interface java.util.Collection
Specified by:
add in interface java.util.List
Overrides:
add in class java.util.ArrayList

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection
Specified by:
toArray in interface java.util.List
Overrides:
toArray in class java.util.ArrayList

toArray

public java.lang.Object[] toArray(boolean annotate)

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection

toString

public java.lang.String toString(boolean annotate)


Copyright © 1999-2006 Juancarlo Añez, Caracas, Venezuela.
Some rights reserved
. http://www.suigeneris.org/jrcs