different implementations of conflation algorithm in java