반응형
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 |
Tags
- array
- hive
- PostgreSQL
- SQL
- Kotlin
- Excel
- django
- google apps script
- Google Spreadsheet
- Apache
- Java
- Mac
- Google Excel
- c#
- 파이썬
- Tkinter
- PANDAS
- Python
- PySpark
- Redshift
- numpy
- list
- matplotlib
- gas
- math
- dataframe
- GIT
- string
- Github
Archives
- Today
- Total
목록emptylist (1)
달나라 노트
Kotlin - first, last, firstOrNull, lastOrNull
Original source = play.kotlinlang.org/byExample/01_introduction/01_Hello%20world fun main() { var list_fruit = listOf("Apple", "PineApple", "Red_Strawberry", "Red_Apple", "Yellow_Banana", "Yellow_Yellowmelon") // 1 var var_first = list_fruit.first() // 2 println(var_first) var var_last = list_fruit.last() // 3 println(var_last) var var_first_apple = list_fruit.first() {x -> x.contains("Apple")} ..
Kotlin
2021. 3. 16. 00:07