Java - CollectionsClass
Collections 클래스에는 유용한 static 기능 메소드들이 있다. static이기 때문에 객체를 생성하지 않고 사용할 수 있다. [Collections.sort(); 등] GitHub - jake5113/Mrhi_JAVA Contribute to jake5113/Mrhi_JAVA development by creating an account on GitHub. github.com Collections.sort(datas); sort 메소드는 데이터들을 오름차순으로 정렬한다. Collections.shuffle(datas); shuffle 메소드는 데이터를 랜덤하게 섞는다. import java.util.ArrayList; import java.util.Collections; public clas..
2023.02.01