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: Tue Apr 24 18:28:50 GMT 2018

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

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