Skip to content

Instantly share code, notes, and snippets.

@mararual
Created December 7, 2012 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mararual/4234607 to your computer and use it in GitHub Desktop.
Save mararual/4234607 to your computer and use it in GitHub Desktop.
Gabe
ArrayList<Estudiante> vectorEstudiantes = new ArrayList<Estudiante>();
private Estudiante buscarEstudiante(String cedula) {
for (int i = 0; i < vectorEstudiantes.length; i++) {
if (c.cedula == cedula)
return vectorEstudiantes[i];
}
return null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment