Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 프래그먼트
- 해시
- 구조체
- 백준
- noncopyable
- 리스트뷰
- weak
- rx
- Swift
- 풀이
- RxSwift
- async
- 이스케이핑
- 클로저
- 안드로이드
- 프로퍼티
- 자바
- 스위프트
- 옵셔널
- Self
- 연산자
- 차이
- concurrency
- 프로그래머스
- observable
- 알고리즘
- View
- ios
- Subject
- 생명주기
Archives
- Today
- Total
목록진수 변환 (1)
study record
자바 10진수, 2진수, 8진수, 16진수 변환
자바의 10진수를 2진수, 8진수, 16진수로 만들기 String octalString = Integer.toOctalString(i); //8진수 String hexString = Integer.toHexString(i); String binaryString = Integer.toBinaryString(i); //2진수 10진수로 만들기 int binaryToOctal = Integer.parseInt(octalString, 8); int binaryToHex = Integer.parseInt(hexString, 16); int binaryToDecimal = Integer.parseInt(binaryString, 2);
알고리즘
2021. 5. 28. 13:25