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.

Date: 2008-11-22 03:43 pm (UTC)
From: [identity profile] ivan-gandhi.livejournal.com
Да, я переименовал Monomorphism в Injection, согласно определениям. Embedding близко к теме, конечно... может быть, Inclusion?

Date: 2008-11-22 03:54 pm (UTC)
From: [identity profile] alexey-rom.livejournal.com
Да, это, похоже (http://en.wikipedia.org/wiki/Inclusion_map) на правду.

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