Package org.waveprotocol.wave.concurrencycontrol.proto

Examples of org.waveprotocol.wave.concurrencycontrol.proto.WaveletUpdateProtoImpl.copyFrom()


  private WaveletUpdateProtoImpl getOrCreateWaveletUpdateProtoImpl(WaveletUpdate message) {
    if (message instanceof WaveletUpdateProtoImpl) {
      return (WaveletUpdateProtoImpl) message;
    } else {
      WaveletUpdateProtoImpl messageImpl = new WaveletUpdateProtoImpl();
      messageImpl.copyFrom(message);
      return messageImpl;
    }
  }

  /** Get or create a ProtocolHashedVersionProtoImpl from a ProtocolHashedVersion. */
 
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.