juan_gandhi: (Default)
[personal profile] juan_gandhi
  /**
   * 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.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

July 2025

S M T W T F S
  12345
6789 1011 12
131415 1617 1819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 20th, 2025 09:11 pm
Powered by Dreamwidth Studios