본문 바로가기

조용한 담장

검색하기
조용한 담장
프로필사진 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/06   »
일 월 화 수 목 금 토
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
  • 웹크롤러
  • Class
  • function
  • Collection
  • 코틀린
  • Flutter
  • 파이썬
  • List
  • ML
  • kotlin
  • package
  • crawler
  • text
  • import
  • 크롤러
  • animation
  • pushnamed
  • python
  • 콜렉션
  • 클래스
  • Android
  • texttheme
  • set
  • 플러터
  • variable
  • 다트
  • 함수
  • textstyle
  • map
  • DART
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록시퀀스 (1)

조용한 담장

코틀린(Kotlin) Collections : 시퀀스(sequences)

코틀린(kotlin) 의 시퀀스(sequence) 를 살펴보자. 원문 https://kotlinlang.org/docs/reference/sequences.html 을 보며 정리. kotlin standard library 는 collection 과 함께 또다른 container type 인 sequences (Sequence) 를 가지고 있다. 여러 단계를 포함하는 Iterable 을 수행할 때에는 각 단계의 처리는 바로 끝나고 즉각 그 결과를 리턴한다. sequences 의 여러 단계 처리는 전체 단계가 처리된 결과가 요구됬을 때에 실제 연산이 일어나며 느리게(나중에) 처리된다. (executed lazily) 동작 수행의 순서 또한 다르다. Sequence 은 각각 하나의 element 에 대해 모..

kotlin 2020. 1. 2. 18:39
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바