Skip to content

Instantly share code, notes, and snippets.

@jivimberg jivimberg/Person.kt
Created Jun 11, 2018

What would you like to do?
class Person() {
private lateinit var _other: Person
private constructor(_other: Person) : this() {
this._other = _other
val other: Person
get() {
if (!::_other.isInitialized) {
_other = Person(this)
return _other
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.