title: Combine two Maps to a List of objects using Java8
body: <p>Given 2 Maps and an object</p>
  
  <pre><code>Map&lt;Integer, List&lt;String&gt;&gt; fruits = new HashMap&lt;&gt;();
  fruits.put(1, Arrays.asList("apple", "banana"));
  fruits.put(2, Arrays.asList("orange", "kiwi"));
  
  Map&lt;Integer, List&lt;String&gt;&gt; veggies= new HashMap&lt;&gt;();
  veggies.put(1, Arrays.asList("tomato", "potato"));
  veggies.put(2, Arrays.asList("onion"));
  
  Class Food
  {
      private id;
      private List&lt;String&gt; fruitsList;
      private List&lt;String&gt; veggiesList;
  
      //getters and setters
  }
  </code></pre>
  
  <p>I am trying to combine the given 2 maps to a single list containing Food object(List).</p>
  
  <pre><code>//Used for explanation purpose
  Food food1 = new Food();
  food1.setId(1);
  food1.setFruitsList(Arrays.asList("apple", "banana"));
  food1.setVeggiesList(Arrays.asList("tomato", "potato"));
  
  //Used for explanation purpose
  Food food2 = new Food();
  food2.setId(2);
  food2.setFruitsList(Arrays.asList("orange", "kiwi"));
  food2.setVeggiesList(Arrays.asList("onion"));
  
  //Wanted this list of food
  List&lt;Food&gt; foodList = new ArrayList();
  foodList.add(food1);
  foodList.add(food2);
  </code></pre>
  
  <p>I need to get a List.
  Can we achieve that using Java8 streams? 
  Any solutions would be appreciated. </p>