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

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -