Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Conversion C# to Java

807589Sep 27 2008 — edited Sep 28 2008
Hi,

I am working on a project to translate an algorithm from a C# project into Java project.

I dont understand the piece of codes following:

class Output<T> where T : IComparable<T>
{
public T Value;
}


Could you please explain my questions following?
1. Output<T> => what does this mean? Is this an array of Output object? any related information about this declaration?
2. What is the value of T Value?
3. Could you please help me to rewrite this piece of codes in Java?

Thank you very much and your help is much appreciated.

Thanks in advance,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2008
Added on Sep 27 2008
4 comments
216 views