org.suigeneris.jrcs.rcs.impl
Class Line
java.lang.Object
org.suigeneris.jrcs.rcs.impl.Line
public final class Line
- extends java.lang.Object
An annotated line of a revision. Line contains both the original text of the
line, plus the node that indicates the revision in which the line was last
added or changed. This class is NOT thread safe.
- Version:
- $Id: Line.java,v 1.1 2006/06/08 15:07:11 juanca Exp $
- Author:
- Juanco Anez
- See Also:
Node
,
Archive
Constructor Summary |
Line(Node revision,
java.lang.Object text)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
revision
private final Node revision
text
private final java.lang.Object text
Line
Line(Node revision,
java.lang.Object text)
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getRevision
final Node getRevision()
getText
final java.lang.Object getText()
Copyright © 1999-2006 Juancarlo Añez, Caracas, Venezuela.
Some rights reserved
. http://www.suigeneris.org/jrcs