public class EntityOffset extends Object
MutationMention
, Gene
, etc.).Constructor and Description |
---|
EntityOffset(int start,
int stop)
Constructor with start and end offset based on text
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
(non-Javadoc)
|
int |
getStart()
Get start character
|
int |
getStop()
Get end character position
|
int |
hashCode()
(non-Javadoc)
|
String |
toString()
(non-Javadoc)
|
public EntityOffset(int start, int stop)
start
- start positionstop
- end positionpublic int getStart()
public int getStop()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Copyright © 2016. All rights reserved.