java - How can I represent this generic type -
How to fix a normal type of part to represent the map to apply this one long and anything ?
Maps & lt; Long, & lt; T applied collection & lt; Long & gt; & Gt; & Gt; MOC;
so that I If I understand your question, then you You can set a moc = new hashMap & lt; Long, set & lt; Long & gt; & Gt; ();
< Code> map & lt; Long, collection & lt; Long & gt; & Gt; Moc = new Hashmap & lt; & Gt; ();
set
as
moc.put (long) 1, new hashaseet and jm> long & gt can add. ; ());
Comments
Post a Comment