private VectorClock toVectorClock ( List < Entry < String , Long > > replicaLogicalTimestamps ) { final VectorClock timestamps = new VectorClock ( ) ; for ( Entry < String , Long > replicaTimestamp : replicaLogicalTimestamps ) { timestamps . setReplicaTimestamp ( replicaTimestamp . getKey ( ) , replicaTimestamp . getValue ( ) ) ; } return timestamps ; }
Transforms the list of replica logical timestamps to a vector clock instance .