3 ms·
It's just that OP quoted a multi-line function signature plus implementation in one line, which obfuscates things. Looking at just the comparable signature is
by ww520 11y ago
It's just that OP quoted a multi-line function signature plus implementation in one line, which obfuscates things. Looking at just the comparable signature is pretty clear.
<T> Extension<T> contraMap(Function<T, S> f);