| java.lang.Object de.anomic.data.diff
diff | public class diff (Code) | | This class provides a diff-functionality.
|
Inner Class :public class Part | |
Constructor Summary | |
public | diff(String o, String n) | public | diff(String o, String n, int minConsecutive) Parameters: o - the original String Parameters: n - the new String Parameters: minConsecutive - the minimum number of consecutive equal characters inboth Strings. | public | diff(Object[] o, Object[] n, int minConsecutive) |
diff | public diff(String o, String n, int minConsecutive)(Code) | | Parameters: o - the original String Parameters: n - the new String Parameters: minConsecutive - the minimum number of consecutive equal characters inboth Strings. Smaller seperations will only be performed on the end of eitherString if needed throws: NullPointerException - if o or n isnull |
getNew | public Object[] getNew()(Code) | | the new Object[] passed to this class on instantiation |
getOriginal | public Object[] getOriginal()(Code) | | the original Object[] passed to this class on instantiation |
getParts | public Part[] getParts()(Code) | | A diff is composed of different parts. Each of these parts stands for an
operation, like "do nothing", "add" or "delete".
See Also: Part all parts this diff consists of in correct order |
|
|