com.bericotech.clavin.extractor
Class LocationOccurrence
java.lang.Object
com.bericotech.clavin.extractor.LocationOccurrence
public class LocationOccurrence
- extends Object
Container class representing a location name found in a document.
Stores the text of the location name itself, as well as its position
in the text in which it was found (measured in UTF-16 code points
from the start of the document).
name
public final String name
position
public final int position
LocationOccurrence
public LocationOccurrence(String text,
int position)
- Sole construction for
LocationOccurrence class.
Represents a location name found in a document.
- Parameters:
text - text of the location nameposition - where it was found
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2013 Berico Technologies. All rights reserved.