Class SimpleFieldTracker

  • All Implemented Interfaces:

    public final class SimpleFieldTracker
    extends Object
    implements DirtyTracker
    small low memory class to keep track of changed fields

    uses an array as a set (under the assumption that the number of elements will be low) to avoid having to instantiate an HashSet. if the assumption does not, hold the array can be kept ordered to reduce the cost of verifying duplicates