Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      FsChange​(TOP fs)  
    • Field Detail

      • fs

        final TOP fs
        ref to the FS being modified
      • featuresModified

        final java.util.BitSet featuresModified
        which feature (by offset) is modified
    • Constructor Detail

      • FsChange

        FsChange​(TOP fs)
    • Method Detail

      • addFeatData

        void addFeatData​(int v)
      • addArrayData

        void addArrayData​(int v,
                          int nbrOfConsecutive)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object