public interface Marker
CAS that is used to query when FSs were created or
 modified with respect to the marker.| Modifier and Type | Method and Description | 
|---|---|
| boolean | isModified(FeatureStructure fs)Test if a FeatureStructure in a CAS represented by this  Markerexisted before the
 mark was set, and has been modified. | 
| boolean | isNew(FeatureStructure fs) | 
| boolean | isValid()A Marker becomes invalid when the  CASfrom which it was obtained is reset. | 
boolean isNew(FeatureStructure fs)
fs - -FeatureStructure was created after the mark represented by this
         Marker object.boolean isModified(FeatureStructure fs)
Marker existed before the
 mark was set, and has been modified. isModified(fs) == true implies that isNew(fs) == false.fs - -FeatureStructure that existed prior to the mark being set has
         been modifiedboolean isValid()
CAS from which it was obtained is reset.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.