org.schwa.dr
Class Slice<T extends Ann>
java.lang.Object
org.schwa.dr.Slice<T>
public class Slice<T extends Ann>
- extends Object
A slice over other Ann instances in the docrep Java API.
Slices in the Java API are [inclusive, inclusive] unlike the C++ and Python APIs,
which are [inclusive, exclusive).
- Author:
- Tim Dawborn
|
Field Summary |
T |
start
The inclusive starting point of the slice. |
T |
stop
The inclusive stopping point of the slice. |
start
public T extends Ann start
- The inclusive starting point of the slice.
stop
public T extends Ann stop
- The inclusive stopping point of the slice.
Slice
public Slice()
Slice
public Slice(T start,
T stop)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getStart
public T getStart()
getStop
public T getStop()
setStart
public void setStart(T start)
setStop
public void setStop(T stop)
Copyright © 2014. All rights reserved.