public class Span extends Object
| Constructor and Description |
|---|
Span(int tokenStart,
int tokenEnd)
Creates a new span.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getTokenEnd()
Gets the end of the span.
|
int |
getTokenStart()
Gets the token's start of the span.
|
int |
hashCode() |
String |
toString()
Returns the token-based span as a formatted string.
|
public Span(int tokenStart,
int tokenEnd)
tokenStart - The position of the start of the token's span.public String toString()
public int getTokenStart()
public int getTokenEnd()
Copyright © 2018. All rights reserved.