public class MarkerImpl extends Object implements Marker
Modifier and Type | Field and Description |
---|---|
protected boolean |
isValid |
protected int |
nextFSId |
Modifier and Type | Method and Description |
---|---|
int |
getNextFSId() |
boolean |
isModified(FeatureStructure fs)
Test if a FeatureStructure in a CAS represented by this
Marker existed before the
mark was set, and has been modified. |
boolean |
isNew(FeatureStructure fs) |
boolean |
isValid()
A Marker becomes invalid when the
CAS from which it was obtained is reset. |
public boolean isNew(FeatureStructure fs)
public boolean isModified(FeatureStructure fs)
Marker
Marker
existed before the
mark was set, and has been modified. isModified(fs) == true implies that isNew(fs) == false.isModified
in interface Marker
fs
- -FeatureStructure
that existed prior to the mark being set has
been modifiedpublic boolean isValid()
Marker
CAS
from which it was obtained is reset.public int getNextFSId()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.