본문 바로가기

조용한 담장

검색하기
조용한 담장
프로필사진 iosroid

  • 분류 전체보기 (125)
    • Flutter (43)
    • tips (10)
    • Dart (14)
    • Interesthing (6)
    • python (6)
    • kotlin (40)
    • Blogs I read this week (3)
    • Yocto (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/08   »
일 월 화 수 목 금 토
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
31
Tags
  • pushnamed
  • 플러터
  • kotlin
  • map
  • package
  • DART
  • 파이썬
  • 콜렉션
  • 클래스
  • Class
  • text
  • python
  • import
  • List
  • Collection
  • variable
  • set
  • crawler
  • 함수
  • textstyle
  • animation
  • function
  • 다트
  • ML
  • texttheme
  • 웹크롤러
  • 크롤러
  • Flutter
  • 코틀린
  • Android
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Object (1)

조용한 담장

코틀린(Kotlin) 클래스(Class) : 객체 표현식 과 선언 (Object Expressions and Declarations)

코틀린 클래스의 Object Expressions and Declarations 를 살펴보자 원문 https://kotlinlang.org/docs/reference/object-declarations.html 을 보며 정리. 새로운 클래스를 만들지 않고 특정 클래스에 약간의 수정만 한 오브젝트를 만드는 방법에 대해 살펴본다. Object expressions 특정 type 을 상속한 익명(이름없는) 클래스(anonymous class) 의 오브젝트를 생성하는 방법 window.addMouseListener(object : MouseAdapter() { override fun mouseClicked(e: MouseEvent) { /*...*/ } override fun mouseEntered(e: Mou..

kotlin 2020. 1. 2. 16:05
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바