Re: Simple question: bounded generics
- From: "Ingo R. Homann" <ihomann_spam@xxxxxx>
- Date: Mon, 17 Jul 2006 16:03:52 +0200
Hi,
Ben wrote:
Is it possible to bound a generic to an interface?
Simple answer: yes!
class classA< T extends Comparable>
{
}
Ciao,
Ingo
.
- References:
- Simple question: bounded generics
- From: Ben
- Simple question: bounded generics
- Prev by Date: Convert eclipse project into Netbeans
- Next by Date: Re: Thread.sleep takes lot of CPU time!
- Previous by thread: Simple question: bounded generics
- Next by thread: Thread.sleep takes lot of CPU time!
- Index(es):