public interface Contrastable
Implementors of this interface enable to contrast their current value with another one.
contrastWith@NotNull @NotNull List<Difference> contrastWith
(@Nullable @Nullable Language language, @Nullable @Nullable Object value)Contrasts this instance with a given value. If the value does not have the proper type, it should be treated similar to
language- The language to contrast for - may be
nullfor language independent editors.
value- The value to contrast with.
- The list of differences between this instance's value and the given one.