looking for a good name
Nov. 21st, 2008 02:07 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
/** * Injection (?) function (if you are a c+ programmer, you'd call it "downcast"). */ public static class WHATSMYNAME???<T, T1 extends T> extends Monomorphism<T1, T> { public T apply(T1 t) { return t; } }
I just could not figure out what name to give to this simple function. It is almost an identity function, but it is not.
no subject
Date: 2008-11-22 08:55 am (UTC)