태그 : operator 요약보기전체보기목록닫기
- Advanced Operators(0)2018.11.19
- Basic Operators(0)2018.11.07
- operator overloading(0)2018.07.25
1
- Swift
- 2018/11/19 13:07
Advanced OperatorsIn addition to the operators described in Basic Operators, Swift provides several advanced operators that perform more complex value manipulation. These include all of the bitwise ...
- Swift
- 2018/11/07 09:41
Basic Operators연산자는 특별한 심볼 또는 표현식으로서 값을 체크, 변경, 결합할 때 사용한다. 예를 들어, + 연산자는 두 값을 더하며 && 는 두 불린 값을 결합한다. 스위프트는 대부분의 표준 C연산자를 지원하며 몇가지의 호환성을 향상시키며, 공통의 코딩 에러를 제거한다. 할당 연산은 결과를 반환하지 않는데, == ...
- Kotlin
- 2018/07/25 09:34
연산자 오버로딩은 키워드 역할을 하는 메소드를 구현함으로서 지원됨1. 기본 연산plus, minus, times, div, remplusAssign, minusAssign, timesAssign, divAssign, remAssigndata class Point(val x: Int, val y: Int) { operator fun plus(othe...
1
최근 덧글