Java tutorial
//package com.java2s; import android.widget.EditText; public class Main { public static boolean isEquals(EditText paramEditText1, EditText paramEditText2) { if ((paramEditText1 == null) || (paramEditText2 == null)) ; while (!paramEditText1.getText().toString().equals(paramEditText2.getText().toString())) return false; return true; } }