title: Get values of a property from array of objects
body: <p>I have an list of objects:</p>
  
  <pre><code>[class RetailerItemVariant {
      sku: 008884303996
      isAvailable: true
      price: 70.0
  }, class RetailerItemVariant {
      sku: 008884304030
      isAvailable: true
      price: 40.0
  },
  ...
  </code></pre>
  
  <p>What's the best way to extract an array of the SKU's in Java 8? e.g.:</p>
  
  <pre><code>["008884303996", "008884304030", ...]
  </code></pre>
  
  <p>Im new to Java and this is very easy in Javascript using the map() function but I haven't been able to find a similarly simple way of doing it in Java...</p>