org.apache.commons.jrcs.rcs
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.apache.commons.jrcs.rcs.Lines
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

 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.3 2003/10/13 07:59:46 rdonkin Exp $
Author:
Juanco Anez
See Also:
Line, Archive

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)
           
 Node[] nodesToArray()
           
 java.lang.Object[] textToArray()
           
 java.lang.Object[] textToArray(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, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
containsAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode
 

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

nodesToArray

public Node[] nodesToArray()

textToArray

public java.lang.Object[] textToArray()

textToArray

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

toString

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

toString

public java.lang.String toString(boolean annotate)


Copyright 2002 the Apache Software Foundation
Copyright ? 1999-2001 Juancarlo A?ez, Caracas, Venezuela.
All rights reserved
. http://www.suigeneris.org/jrcs