public abstract class AbstractAnnotation extends java.lang.Object implements Annotation
AFTER_LAST, BEFORE_FIRST
Constructor and Description |
---|
AbstractAnnotation() |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Returns the current value of the internal index pointer
|
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
void |
moveToAnnotation(int index)
Move the internal index pointer so that subsequent calls
to getter methods refer to the given index
|
boolean |
nextAnnotation()
Moves the internal hit pointer one step forward and returns
true if it now points to a valid hit
|
void |
reset()
Returns the internal annotation pointer to a position
right before the first annotation
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotationCount
public void reset()
Annotation
reset
in interface Annotation
Annotation.reset()
public boolean isBeforeFirst()
isBeforeFirst
in interface Annotation
Annotation.isBeforeFirst()
public boolean isAfterLast()
isAfterLast
in interface Annotation
Annotation.isAfterLast()
public boolean nextAnnotation()
Annotation
nextAnnotation
in interface Annotation
Annotation.nextAnnotation()
public int getIndex()
Annotation
getIndex
in interface Annotation
Annotation.getIndex()
public void moveToAnnotation(int index)
Annotation
moveToAnnotation
in interface Annotation
Annotation.moveToAnnotation(int)