Mahdi Javaheri
11/04/2018, 1:29 PMkr3v
11/04/2018, 1:32 PMAquariumPlant named pull, which prints removing $this, if instance of AquariumPlant, on which pull was invoked, was not nullMahdi Javaheri
11/04/2018, 1:35 PMnot null check?Mahdi Javaheri
11/04/2018, 1:37 PMval nullablePlant: AquariumPlant? = null
nullablePlant.pull()
the apply() method isn't invokedkarelpeeters
11/04/2018, 1:37 PMx?.f() means if (x != null) x.f()karelpeeters
11/04/2018, 1:38 PMMahdi Javaheri
11/04/2018, 1:39 PMMahdi Javaheri
11/04/2018, 1:40 PM