private MutablePair < DeltaType , Object > isDuplicate ( MutablePair < DeltaType , Object > d1 , MutablePair < DeltaType , Object > d2 ) { MutablePair < DeltaType , Object > deletionDelta = isDeletionDup ( d1 , d2 ) ; if ( deletionDelta != null ) { return deletionDelta ; } return null ; }
If d1 & d2 represent the same event returns the delta that ought to be kept .