T
- the entity typepublic class EntityUnifiedDiff<T extends EntityReference> extends LinkedHashMap<String,List<org.xwiki.diff.display.UnifiedDiffBlock<String,Character>>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
EntityUnifiedDiff(T previousReference,
T nextReference)
Creates a new instance to hold the differences between the specified entity versions.
|
Modifier and Type | Method and Description |
---|---|
T |
getNextReference() |
T |
getPreviousReference() |
T |
getReference() |
org.xwiki.diff.Delta.Type |
getType() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public EntityUnifiedDiff(T previousReference, T nextReference)
previousReference
- the reference to the previous version of the entitynextReference
- the reference to the next version of the entitypublic T getPreviousReference()
public T getNextReference()
public T getReference()
public org.xwiki.diff.Delta.Type getType()
Copyright © 2004–2022 XWiki. All rights reserved.