All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.commons.jrcs.diff.package.html Maven / Gradle / Ivy

Go to download

JMeld is a visual diff and merge tool which is very much inspired after the fantastic 'meld', a gnome program program. It is different in a number of ways: 1. It doesn't have (yet) the many features of meld. 2. For now only the filemerge is working (no directorydiff, no subversion/cvs diff) 3. It is written in java and thus platform independent. 4. It is created to be very fast with large documents.

The newest version!



  
    
    
  
  
    

The {@link org.apache.maven.jrcs.diff diff} package implements the differencing engine that JRCS uses. The engine has the power of Unix diff, is simple to understand, and can be used independently of the archive handling functionality. The entry point to the differencing engine is class {@link org.apache.maven.jrcs.diff.Diff Diff}.

Text is represented as Object[] because the diff engine is capable of handling more than plain ascci. In fact, arrays of any type that implements {@link java.lang.Object#hashCode hashCode()} and {@link java.lang.Object#equals equals()} correctly can be subject to differencing using this library.

Two implementations of the differencing algorithm are provided.

  • {@link SimpleDiff Simple Diff} is a verys imple algorithm that is fast and works well with very large input sequences, but that frequently produces result that are subotimal (at times four or more times larger than GNU diff).
  • {@link org.apache.commons.jrcs.diff.myers.MyersDiff MyersDiff} is an implementation of Gene Myers differencing algorithm. Myer's algorithm produces optimum results (minimum diffs), but consumes considerably more memory than SimpleDiff, so its not suitable for very large files.
@author Juanco Anez
@version $Id: package.html,v 1.2 2003/05/10 18:55:10 juanco Exp $
@see Diff 
@see org.apache.maven.jrcs.rcs.Archive




© 2015 - 2025 Weber Informatics LLC | Privacy Policy