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