Skip to content

Instantly share code, notes, and snippets.

@3ffusi0on
Created May 12, 2017 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3ffusi0on/29707cbbfdd9c3a0fb11b720db30fea6 to your computer and use it in GitHub Desktop.
Save 3ffusi0on/29707cbbfdd9c3a0fb11b720db30fea6 to your computer and use it in GitHub Desktop.
From Map<String, List<IChamp>> to Map<String, List<Champ>> (with Champ implements IChamp)
// From Map<String, List<IChamp>> to Map<String, List<Champ>> (with Champ implements IChamp)
Map<String, List<Champ>> champs = (Map<String, List<Champ>>) (Map<String, ?>) myClass.myMethode();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment