/* (non-Javadoc)
  * @see eu.stratosphere.pact.runtime.plugable.TypeAccessorsV2#deserialize(java.lang.Object, eu.stratosphere.nephele.services.memorymanager.DataInputView)
  */
 @Override
 public void deserialize(LongPair target, DataInputViewV2 source) throws IOException {
   target.setKey(source.readLong());
   target.setValue(source.readLong());
 }
 /* (non-Javadoc)
  * @see eu.stratosphere.pact.runtime.plugable.TypeAccessorsV2#compare(eu.stratosphere.nephele.services.memorymanager.DataInputView, eu.stratosphere.nephele.services.memorymanager.DataInputView)
  */
 @Override
 public int compare(DataInputViewV2 source1, DataInputViewV2 source2) throws IOException {
   long diff = source1.readLong() - source2.readLong();
   return diff < 0 ? -1 : diff > 0 ? 1 : 0;
 }