title: Replace two nested for loops with java 8 API
body: <p>I have the following snippet and I wonder if and how it is possible to replace it with Streams/Java 8 API</p>
  
  <pre><code>for (State state : states) {
      for (City city : cities) {
          if (state.containsPoint(city.getLocation())) {
              System.out.printf("%30s is part of %-30s\n",
                      city.getName(), state.getName());
          }
      }
  }
  </code></pre>