Package com.google.walkaround.proto

Examples of com.google.walkaround.proto.OperationBatch.addOperation()


   */
  public String serializeOperationBatch(List<WaveletOperation> input) {
    Preconditions.checkState(input.size() >= 1, "Operation batch input should have >= 1 items");
    OperationBatch batch = MessageFactoryHelper.createOperationBatch();
    for (WaveletOperation op : input) {
      batch.addOperation(OperationSerializer.createMessage(op));
    }
    return serializer.serializeOperationBatch(batch);
  }

  public List<WaveletOperation> deserializeOperationBatch(
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.