Package org.apache.uima.cas.impl
Class CASImpl.FsChange
- java.lang.Object
-
- org.apache.uima.cas.impl.CASImpl.FsChange
-
- Enclosing class:
- CASImpl
public static class CASImpl.FsChange extends java.lang.Object
Journaling changes for computing delta cas. Each instance represents one or more changes for one feature structure A particular Feature Structure may have multiple FsChange instances but we attempt to minimize this
-
-
Field Summary
Fields Modifier and Type Field Description (package private) PositiveIntSet
arrayUpdates
(package private) java.util.BitSet
featuresModified
which feature (by offset) is modified(package private) TOP
fs
ref to the FS being modified
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addArrayData(int v, int nbrOfConsecutive)
(package private) void
addArrayData(PositiveIntSet indexesPlus1)
(package private) void
addFeatData(int v)
boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
fs
final TOP fs
ref to the FS being modified
-
featuresModified
final java.util.BitSet featuresModified
which feature (by offset) is modified
-
arrayUpdates
final PositiveIntSet arrayUpdates
-
-
Constructor Detail
-
FsChange
FsChange(TOP fs)
-
-
Method Detail
-
addFeatData
void addFeatData(int v)
-
addArrayData
void addArrayData(int v, int nbrOfConsecutive)
-
addArrayData
void addArrayData(PositiveIntSet indexesPlus1)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-