Package org.sosy_lab.common.collect
Interface MapsDifference.Visitor<K,V>
-
- Type Parameters:
K- The type of the key.V- The type of the values.
- All Known Implementing Classes:
MapsDifference.DefaultVisitor
- Enclosing class:
- MapsDifference
public static interface MapsDifference.Visitor<K,V>Interface for visiting map entries differing between two maps.If you are interested in a visitor that collects all passed elements, please use
MapsDifference.collectMapsDifferenceTo(Collection). A dummy implementation that does nothing is available fromMapsDifference.ignoreMapsDifference(). For implementing your own visitor, you can inherit fromMapsDifference.DefaultVisitor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddifferingValues(K key, V leftValue, V rightValue)Accept a map difference.voidleftValueOnly(K key, V leftValue)voidrightValueOnly(K key, V rightValue)
-