Joe-E

"Steven R. Brandt" <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
I'm trying to build a powerless container, PowerlessMap. I have gotten 
to the point where I follow all the rules and everything compiles.

However, Joe-E says that I have to declare the key and value of the map 
to be powerless, i.e.

public class PowerlessMap<K extends Powerless, V extends Powerless> { ... }

This means that I can't make a PowerlessMap<String,String> as String 
does not extends Powerless. I can make a holder for String that
extends Powerless, and I can use that--but that's very clunky. What 
should I be doing?

Cheers,
Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.