Package org.syncany.database

Examples of org.syncany.database.VectorClock.entrySet()


    xmlOut.writeAttribute("name", databaseVersion.getClient());
   
    xmlOut.writeStartElement("vectorClock");

    VectorClock vectorClock = databaseVersion.getVectorClock();     
    for (Map.Entry<String, Long> vectorClockEntry : vectorClock.entrySet()) {
      xmlOut.writeEmptyElement("client");
      xmlOut.writeAttribute("name", vectorClockEntry.getKey());
      xmlOut.writeAttribute("value", vectorClockEntry.getValue());
    }
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.