HashMap hashMap = (HashMap) argumentos[0]; String teacherNumber = (String) hashMap.get("teacherNumber");
String teacherNumber = null;  if(argumentos.length == 1 && argumentos[0] instanceof HashMap){ HashMap hashMap = (HashMap) argumentos[0]; teacherNumber = (String) hashMap.get("teacherNumber"); } else teacherNumber = argumentos[0].toString();
    protected String getTeacherNumber(Object[] argumentos) {        HashMap hashMap = (HashMap) argumentos[0];        String teacherNumber = (String) hashMap.get("teacherNumber");        return teacherNumber;    }