cedric
02/20/2016, 4:47 PMinterface IConfigActor<T> {
val configurations : HashMap<String, T> get() = hashMapOf()
}
Is there a way to assign this field a value that won't change at each invocation? It can't be defined in the companion object (which doesn't know about the generic parameter T
), nor can it be lazy nor can it be initialized (since we're in an interface)