Verallgemeineinerung generated generics #62
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
class Cycle2 {
}
liefert
class Cycle2 {
public Cycle2();
public <P$> P$ id2(P$);
public <P$> void m2(P$, P$);
}
allgemeiner wäre:
class Cycle2 {
<L extends K, K>
void m2(Z x, Z y){ y = id2(x); x = y; } }K id2(L x){
return x;
}
Dies könnte mit ein er Veränderung der Implementierung )vgl. Journal_Survey_JavaTX) erreichetr werden