Interface Contrastable
public interface Contrastable
Implementors of this interface enable to contrast their current value with another one.
- Since:
- 4.2.200
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<Difference>
contrastWith
(@Nullable Language language, @Nullable Object value) Contrasts this instance with a given value.
-
Method Details
-
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 tonull
.- Parameters:
language
- The language to contrast for - may benull
for language independent editors.value
- The value to contrast with.- Returns:
- The list of differences between this instance's value and the given one.
- Since:
- 4.2.200
-