Skip to content

Instantly share code, notes, and snippets.

Created Aug 22, 2012
What would you like to do?
scala version
class Person(var firstName: String, var lastName: String, var address: Address) {
def this() = this(null, null, null)
class Address(var city: String, var street: String) {
def this() = this(null, null)
val persons = getAListSomewhere();
val filtered = persons.filter( == "Kyiv")
val adresses =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment