public static class StringAlgebra.Span extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
end
These two values represent the start and the end of the span.
|
int |
start
These two values represent the start and the end of the span.
|
| Constructor and Description |
|---|
Span(int start,
int end)
Creates a new instance with the given start and end.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
int |
length()
Returns the number of symbols covered by this span.
|
String |
toString() |
public final int start
public final int end
public Span(int start,
int end)
start - end - Copyright © 2017. All rights reserved.