recorrer un estudio Android de ArrayList

List<MyObject> AllData = dataBaseHelper.getAllData(); //initialize

    for (MyObject obj : AllData) { //loop
        if (obj.getNum() == num) { //condicion
            //code
        }
    }
Happy Owl