객체를 원하는 조건에 따라 정렬
객체를 원하는 조건에 따라 정렬 public static void main(String[] args) { int[][] arr = {{1,1},{-1,1},{2,3},{4,3},{0,0},{1,2}}; Coordinate[] coordinates = new Coordinate[arr.length]; for(int i=0; i
더보기
ACSII to Char,ACSII to String
ACSII to Char:(char) ACSII 번호 String[] morse = {".-","-...","-.-.","-..",".","..-.","--.","....","..",".---","-.-",".-..","--","-.","---",".--.","--.-",".-.","...","-","..-","...-",".--","-..-","-.--","--.."}; HashMap morseMap = new HashMap(); for(int i=0; i
더보기