KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is it possible to specify both upper and lower bound constraints on type parameters in Java? I found a conversation in Sun's forum in which this issue was discussed (apparently before the generics feature was finalized), but there was no final answer. In summary, is there a valid syntax to do the following? public class MyClass<T extends Number super Integer>
Tags (comma-separated)
Save Edits
Cancel