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: Wed Nov 26 05:43:43 GMT 2014

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

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