public class SpanImpl extends Object implements Span
Modifier and Type | Field and Description |
---|---|
protected int |
length |
protected int |
startPosition |
Constructor and Description |
---|
SpanImpl(int startPosition,
int length) |
SpanImpl(Span span) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object obj) |
int |
getLength() |
int |
getStartPosition() |
int |
hashCode() |
void |
setLength(int length) |
void |
setStartPosition(int startPosition) |
String |
toString() |
public SpanImpl(int startPosition, int length)
public SpanImpl(Span span)
public int getStartPosition()
getStartPosition
in interface Span
public void setStartPosition(int startPosition)
setStartPosition
in interface Span
public String toString()
public Object clone() throws CloneNotSupportedException
clone
in interface Marking
clone
in class Object
CloneNotSupportedException
Copyright © 2016. All rights reserved.