Compare 썸네일형 리스트형 [JAVA] Colletions Sort - 리스트 정렬하기 자바에서 리스트를 정렬할때, 반복문을 써서 직접 리스트 정렬을 구현해도 되지만, 그 이상 혹은 다른 기능이 필요한 것이 아니라면, 제공해주는 기능을 굳이 만들어서 사용할 필요는 없다. 아래의 Collections 클래스에서 제공해주는 메소드들을 이용하여 개발을 해보자. 참조 URL : https://docs.oracle.com/javase/7/docs/api/java/util/Collections.html Collections (Java Platform SE 7 ) Rotates the elements in the specified list by the specified distance. After calling this method, the element at index i will be the ele.. 더보기 이전 1 다음