Update DPair.java

added comments