org.jboss.errai.otec.client.util
Class DiffUtil
java.lang.Object
org.jboss.errai.otec.client.util.DiffUtil
public final class DiffUtil
- extends Object
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
diff
public static DiffUtil.Delta diff(String a,
String b)
- A simple diff algorithm that assumes only one contiguous block has changed. This algorithm cannot handle
interleaved differences in a string.
- Parameters:
a
- b
-
- Returns:
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.