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 moc = new hashMap & lt; Long, set & lt; Long & gt; & Gt; ();

If I understand your question, then you

 < Code> map & lt; Long, collection & lt; Long & gt; & Gt; Moc = new Hashmap & lt; & Gt; ();  

You can set a set as

  moc.put (long) 1, new hashaseet and jm> long & gt can add. ; ());  

Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -