Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Inheriting from Template Class
Inheriting from Template Class [message #637668] Mon, 08 November 2010 09:58
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:Enhanced ajdt.examples.progressmon
Next Topic:Equinox Weaving with @Aspect
Goto Forum:
  


Current Time: Thu Dec 14 13:29:38 GMT 2017

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

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