Comments (6)
Since each cell should be treated like a word isn't that identical to merging all cells to a line and comparing a list of those?
from java-diff-utils.
Maybe it would work, but the code would be much cleaner and better if would exists a method to compare tables directly.
Isn't it possible to add a such a method to java-diff-utils?
from java-diff-utils.
Could you make a suggestion?
from java-diff-utils.
If possible, please implement a method to compare a table as list of arrays List<String[]> and return the matching, added, changed and dropped rows. The compare should focus only at the row level.
from java-diff-utils.
Since diffing is a text processing algorithm, I will not implement this. Since you are diffing each cell against each cell you should call the differ for each cell and display this result. However, connecting cells to rows will not work, since the idff algorithm would not preserve cell position for patching.
from java-diff-utils.
Stale issue message
from java-diff-utils.
Related Issues (20)
- Request: Include simple copy-paste snippets in README.md HOT 2
- Typo in classes Myers vs Meyers HOT 3
- The output is wrong HOT 1
- DiffUtils.diff() need ignoreWhiteSpaces or ignoreBlankLines HOT 2
- Color Android textview between ** and ~ HOT 8
- Howto: Diff two objects and get the textual differences of its fields HOT 4
- Crash on android 6 HOT 2
- Feature Request - To Merge Differences HOT 1
- How to create a storable patch? HOT 2
- Requirement regarding conflict while applying a patch HOT 2
- Add module-info.java to library HOT 7
- Add section heading support to diff parse utils HOT 3
- Migration from 4.0 to 4.4 HOT 1
- 这个太强大了。赞!赞!赞! HOT 3
- this place will throw Exception HOT 3
- Detecting Moved Lines in Diffs HOT 2
- parseUnifiedDiff exception on valid diff (Binary files)
- Simple renames makes diff be parsed incorreclty HOT 1
- Hanging on generateDiffRows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-diff-utils.