I have a list of objects and I have to remove an element from it.
vlstZonas = zonaContr.getDatosZona(IdParticipante);
The method returns a list of objects like the one in the image.
I've tried things like this:
int zona = (Integer)vlstZonas.get(0).get(idZona);
int zona = (Integer)vlstZonas.get(0).get(0);
int Zona = (int) vlstZonas.getIdZona();