The library will be type-safe, if you use generics. E.g.:
public interface DiffAlgorithm<T> {
public Patch<T> diff(T[] original, T[] revised);
public Patch<T> diff(List<T> original, List<T> revised);
}
Original issue reported on code.google.com by vladimir...@gmail.com on 9 Feb 2012 at 12:30
Original issue reported on code.google.com by
vladimir...@gmail.com
on 9 Feb 2012 at 12:30