Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Kotlin Null-Safety機構について

Taro Nagasawa
November 09, 2013

Kotlin Null-Safety機構について

JJUG CCC 2013 Fallで発表した資料

Taro Nagasawa

November 09, 2013
Tweet

More Decks by Taro Nagasawa

Other Decks in Programming

Transcript

  1. Safe Call ↓! if(name != null) name.toUpperCase()! else null val

    name: String? = null! name?.toUpperCase()