Class TextDiff
java.lang.Object
ch.tocco.nice2.persist.history.api.diff.TextDiff
- All Implemented Interfaces:
Iterable<TextDiffEntry>
-
Constructor Summary
ConstructorDescriptionTextDiff
(Iterable<TextDiffEntry> entries, int deletionCount, int insertCount, int changeCount) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TextDiff
public TextDiff(Iterable<TextDiffEntry> entries, int deletionCount, int insertCount, int changeCount)
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
get
-
getDeletionCount
public int getDeletionCount() -
getChangeCount
public int getChangeCount() -
getInsertCount
public int getInsertCount() -
iterator
- Specified by:
iterator
in interfaceIterable<TextDiffEntry>
-
equals
-
hashCode
public int hashCode() -
toString
-