org.apache.commons.jrcs.rcs
Class Lines
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
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
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)
|
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 |
annotationFormat
public static final java.text.Format annotationFormat
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)
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