Concordance
Class ConcordanceResult
java.lang.Object
Concordance.ConcordanceResult
public class ConcordanceResult
- extends java.lang.Object
- Version:
- 1.00
The ConcordanceResult Class allows the creation of objects that store the data required to give context
to the Concordance. An object of this can then be stored in a LinkedList to allow the line number and context to
both be retrieved.
- Author:
- Jonathan Field jof2@aber.ac.uk 073717922
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcordanceResult
public ConcordanceResult()
ConcordanceResult
public ConcordanceResult(java.lang.String context,
int lineNumber)
- Parameters:
context
- The String that contains the contextual reference for the ConcordancelineNumber
- An Integer that contains the line number
getContext
public java.lang.String getContext()
setContext
public void setContext(java.lang.String context)
getLineNumber
public int getLineNumber()
setLineNumber
public void setLineNumber(int lineNumber)