Class NSOrderedCollectionDifferenceCalculationOptions


  • public final class NSOrderedCollectionDifferenceCalculationOptions
    extends java.lang.Object
    Options supported by methods that produce difference objects.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long InferMoves
      Assume objects that were uniquely removed and inserted were moved.
      static long OmitInsertedObjects
      Insertion changes do not store a reference to the inserted object.
      static long OmitRemovedObjects
      Insertion changes do not store a reference to the removed object.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OmitInsertedObjects

        public static final long OmitInsertedObjects
        Insertion changes do not store a reference to the inserted object.
        See Also:
        Constant Field Values
      • OmitRemovedObjects

        public static final long OmitRemovedObjects
        Insertion changes do not store a reference to the removed object.
        See Also:
        Constant Field Values
      • InferMoves

        public static final long InferMoves
        Assume objects that were uniquely removed and inserted were moved. This is useful when diffing based on identity instead of equality.
        See Also:
        Constant Field Values