Created
October 29, 2009 21:29
-
-
Save fitorec/221859 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//funcion ordenamiento(Sort) en java Vector | |
import java.util.Vector; | |
import java.util.Collections; | |
public class SortExample { | |
public Vector sort(Vector v){ | |
//es necesario importar #java.util.Collections; | |
Vector vec = v; | |
Collections.sort(vec); | |
return vec; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment