반응형
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
- Presto
- array
- PANDAS
- SQL
- matplotlib
- hive
- google apps script
- string
- math
- Excel
- numpy
- PySpark
- dataframe
- gas
- Apache
- Github
- django
- Python
- Google Excel
- Java
- 파이썬
- c#
- Redshift
- Google Spreadsheet
- GIT
- Tkinter
- list
- Kotlin
- PostgreSQL
Archives
- Today
- Total
목록first (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