text: public Edit.Type GetType(){if (beginA < endA){if (beginB < endB){return Edit.Type.REPLACE;}else{return Edit.Type.DELETE;}}else{if (beginB < endB){return Edit.Type.INSERT;}else{return Edit.Type.EMPTY;}}}