Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Inheriting from Template Class
Inheriting from Template Class [message #637672] Mon, 08 November 2010 10:13
SoD is currently offline SoDFriend
Messages: 2
Registered: November 2010
Junior Member
I have a problem with Java.

I have a template class


public abstract class SumFunction<Y, X>
{
public abstract Y op (Y y, X x);
}
I want to inherit it in a way so I can overload the op function, and multiply an int and a double.

How do I do that? I can't find a way to make a specific class inherit a template class.
Previous Topic:The project: xxxxxxx which is referenced by the classpath, does not exist.
Next Topic:Java heap space: out of memory errors
Goto Forum:
  


Current Time: Fri Apr 26 15:21:44 GMT 2024

Powered by FUDForum. Page generated in 0.03206 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top