/opengrok-sun/jrcs/src/main/java/org/apache/commons/jrcs/diff/ |
H A D | DiffAlgorithm.java | 82 public abstract Revision diff(Object[] orig, Object[] rev) argument
|
H A D | DeleteDelta.java | 80 public DeleteDelta(Chunk orig) argument 82 init(orig, null);
|
H A D | ChangeDelta.java | 79 public ChangeDelta(Chunk orig, Chunk rev) argument 81 init(orig, rev);
|
H A D | Delta.java | 110 * @param orig the chunk in the original text. 113 public static Delta newDelta(Chunk orig, Chunk rev) argument 115 Class c = DeltaClass[orig.size() > 0 ? 1 : 0] 126 result.init(orig, rev); 141 protected Delta(Chunk orig, Chunk rev) argument 143 init(orig, rev); 150 protected void init(Chunk orig, Chunk rev) argument 152 original = orig;
|
H A D | Diff.java | 110 protected final Object[] orig; field in class:Diff 138 this.orig = original; 153 * @param orig the original 157 public static Revision diff(Object[] orig, Object[] rev) argument 160 if (orig == null || rev == null) 165 return diff(orig, rev, null); 171 * @param orig the original 176 public static Revision diff(Object[] orig, Object[] rev, argument 180 if (orig == null || rev == null) 185 return new Diff(orig, algorith 209 compare(Object[] orig, Object[] rev) argument [all...] |
H A D | SimpleDiff.java | 103 * indx[i] = eqs(orig[i]) and jndx[i] = eqs(rev[i]). The algorithm can 104 * now operate on indx and jndx instead of orig and rev. Thus, comparisons 116 * the orig sequence. This information is used to search efficiently for 122 * <p>Having identified common matching objects in the orig and revised 162 * @param orig The original sequence. 167 public Revision diff(Object[] orig, Object[] rev) argument 170 // create map eqs, such that for each item in both orig and rev 171 // eqs(item) = firstOccurrence(item, orig); 172 Map eqs = buildEqSet(orig, rev); 175 // indx[i] = NOT_FOUND_i if orig[ 264 buildEqSet(Object[] orig, Object[] rev) argument [all...] |
/opengrok-sun/jrcs/src/main/java/org/apache/commons/jrcs/diff/myers/ |
H A D | MyersDiff.java | 90 public Revision diff(Object[] orig, Object[] rev) argument 93 PathNode path = buildPath(orig, rev); 94 return buildRevision(path, orig, rev); 102 * @param orig The original sequence. 107 public static PathNode buildPath(Object[] orig, Object[] rev) argument 110 if (orig == null) 116 final int N = orig.length; 155 // orig and rev are zero-based 158 while (i < N && j < M && orig[i].equals(rev[j])) 184 * @param orig Th 190 buildRevision(PathNode path, Object[] orig, Object[] rev) argument [all...] |
/opengrok-sun/jrcs/src/main/java/org/apache/commons/jrcs/tools/ |
H A D | JRCS.java | 72 static Object[] orig; field in class:JRCS 97 orig = archive.getRevision("1.3"); 98 System.out.println("*-orig-*********"); 99 System.out.print(Diff.arrayToString(orig)); 103 //System.out.println(Diff.diff(archive.removeKeywords(orig), 138 List editor = new ArrayList(Arrays.asList(orig)); 143 Object[] rev = Diff.randomEdit(orig, n++);
|
/opengrok-sun/src/org/opensolaris/opengrok/history/ |
H A D | RepositoryInfo.java | 50 public RepositoryInfo(RepositoryInfo orig) { argument 51 this.directoryName = orig.directoryName; 52 this.type = orig.type; 53 this.working = Boolean.valueOf(orig.isWorking()); 54 this.remote = orig.isRemote(); 55 this.datePattern = orig.datePattern;
|
/opengrok-sun/lib/ |
H A D | jrcs.jar | ... String NL public static final String RCS_EOL protected final Object[] orig protected org.apache.commons.jrcs.diff ... |