Code Search for Developers
 
 
  

PatchImpl.java from PeerWriter at Krugle


Show PatchImpl.java syntax highlighted

package fr.loria.ecoo.wooki.woot.test;

import java.util.Vector;

import fr.loria.ecoo.wooki.woot.Patch;
import fr.loria.ecoo.wooki.woot.core.WootId;
import fr.loria.ecoo.wooki.woot.op.WootOp;

/**
 * 
 * @author nabil
 */
public class PatchImpl extends Patch {

	private Vector<WootOp> elements = new Vector<WootOp>();

	private WootId patchId;

	public Iterable getData() throws Exception {
		return elements;
	}

	public void setData(Iterable elements) throws Exception {
		this.elements = (Vector<WootOp>) elements;
	}

	public WootId getPatchId() {
		return patchId;
	}

	public void setPatchId(WootId patchId) {
		this.patchId = patchId;
	}

}




See more files for this project here

PeerWriter

PeerWriter is a collaborative text editor. Multiple peers can edit the same document while they see overall changes in real-time. PeerWriter is based on a decentralized infrastructure, using a non-locking concurrency protocol ensuring global consistency.

Project homepage: http://sourceforge.net/projects/peerwriter
Programming language(s): Java,XML
License: gpl2

  MolliUrsoTests.java
  PatchImpl.java
  PerformanceTests.java
  WootRowTest.java