Lines Matching refs:val
20 private class LazyExt<K, T>(private val initializer: (k : K) -> T) : ReadOnlyProperty<K, T> {
21 private val mapping = hashMapOf<K, T>()
23 val t = mapping[thisRef]
27 val result = initializer(thisRef)
33 private class VersionedLazyExt<K, T>(private val initializer: (k : K) -> T) : ReadOnlyProperty<K, T> {
34 private val mapping = hashMapOf<K, VersionedResult<T>>()
37 val t = mapping[thisRef]
38 val version = if(thisRef is VersionProvider) thisRef.version else 1
42 val result = initializer(thisRef)
48 data class VersionedResult<T>(val version : Int, val result : T)
55 val numArray = name.lastIndexOf('[') + 1;
56 val componentType : String;
69 val arrayComp = name.substring(0, numArray).replace("[", "[]");
79 val split = this.split("_")
86 val split = this.split("_")