net.java.sen.dictionary
Class Reading
java.lang.Object
net.java.sen.dictionary.Reading
public class Reading
- extends Object
A class representing a reading applied to a set of characters within a
sentence
|
Field Summary |
int |
length
The number of characters of the sentence covered by the reading |
int |
start
The starting point within the sentence |
String |
text
The reading text applied to the covered span |
start
public final int start
- The starting point within the sentence
length
public final int length
- The number of characters of the sentence covered by the reading
text
public final String text
- The reading text applied to the covered span
Reading
public Reading(int start,
int length,
String text)
- Parameters:
start - The starting point within the sentencelength - The number of characters of the sentence covered by the
readingtext - The reading text applied to the covered span
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.