Is this possible in Java: Map<SomeObject, Map<SomeOtherObject>>?

Posted by davek on Stack Overflow See other posts from Stack Overflow or by davek
Published on 2010-04-26T06:35:44Z Indexed on 2010/04/26 6:43 UTC
Read the original article Hit count: 237

Filed under:
|

Is this possible in Java: Map<SomeObject, Map<SomeOtherObject>>? I'm trying Map<Integer, Map<String>> am getting an

"Incorrect number of arguments for type Map; it cannot be parameterized with arguments "

error.

© Stack Overflow or respective owner

Related posts about java

Related posts about types