Reputation: 8504
I have this as a return type in Scala
Map[String, Seq[Map[String, Seq[MyClass]]]]
I have to use this in multiple places in my code, is there a way to assign this to a constant of sorts and use the constant instead of explicitly stating it?
Upvotes: 5
Views: 307