title: Difference between Pair and Hashmap?
body: <p>What is the necessity to introduce <a href="https://docs.oracle.com/javase/8/javafx/api/javafx/util/Pair.html" rel="noreferrer">Pair</a> class when Hashmap can do the same job?</p>
  
  <p>I see Pair being introduced to Java version 8</p>