static LiveValue mapLiveValue(final F1 f, final Class type, final LiveValue lv) { ret new LiveValue() { public Class getType() { ret type; } public B get() { ret callF(f, lv!); } public LiveValue onChange(Runnable l) { lv.onChange(l); this; } public LiveValue removeChangeListener(Runnable l) { lv.removeChangeListener(l); this; } }; } static LiveValue mapLiveValue(LiveValue lv, Class type, F1 f) { ret mapLiveValue(f, type, lv); }