org.eclipse.emf.emfstore.internal.server.model.versioning.operations.util
Class OperationsCanonizer

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.server.model.versioning.operations.util.OperationsCanonizer

public final class OperationsCanonizer
extends Object

Canonizes a list of operations. Removes all operations that are not necessary to achieve the same result when the list of operations is applied to a project. Contract: project.apply(opList) = project.apply(cannonizedOpList)

Author:
koegel

Method Summary
static void canonize(List<AbstractOperation> operations)
          Canonize the operation list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

canonize

public static void canonize(List<AbstractOperation> operations)
Canonize the operation list.

Parameters:
operations - a list of operations (the list is order by creation time)


Copyright © 2015. All Rights Reserved.