468,167 Members | 1,896 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,167 developers. It's quick & easy.

converting some generic java code to .net

Hello.
I try to convert a bigger piece of java to c#. Initially I use the
JLCA 3 form VS 2005, but the results are far from being perfect, so I
had to convert much code on my own.

I have big problems with generic java code. I have absolutly no clue
how to cope with code like this .
public abstract class Mark<V, Q extends Qualimplements Markable<Q>
{

protected Mark() {
}

public static <N extends java.lang.Number, Q extends QualMark<N,
QvalueOf(
N number, Unit<Qunit) {
return new Number<N, Q>(number, unit);
}

Aug 15 '07 #1
0 1089

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by William Krick | last post: by
6 posts views Thread by gong | last post: by
24 posts views Thread by cs_hart | last post: by
16 posts views Thread by tshad | last post: by
5 posts views Thread by k.vanderstarren | last post: by
1 post views Thread by bjwillykajilly | last post: by
13 posts views Thread by rkausch | last post: by
reply views Thread by kamranasdasdas | last post: by
reply views Thread by gcreed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.