E
- the type of elements that are compared to produce the first level diffF
- the type of sub-elements that can be compared to produce the second level diff when an element is modifiedpublic class UnifiedDiffConfiguration<E,F> extends DiffConfiguration<F>
UnifiedDiffDisplayer
.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
UnifiedDiffConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getContextSize() |
Splitter<E,F> |
getSplitter() |
void |
setContextSize(int contextSize)
Sets the number of unmodified elements to display before and after a chunk of modified elements.
|
void |
setSplitter(Splitter<E,F> splitter)
Sets The object used to split the modified elements into sub-elements in order to produce a more detailed diff.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public int getContextSize()
public void setContextSize(int contextSize)
contextSize
- the context sizepublic Splitter<E,F> getSplitter()
Copyright © 2004–2017 XWiki. All rights reserved.