public interface IRule<T extends AnnotatedElement> extends Comparator<T>
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T source,
T target)
Compare the two annotated elements(Class, Field, Constructor and Method) to determine the back compatibility.
|
String |
getName() |
RuleType |
getType() |
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongString getName()
RuleType getType()
int compare(T source, T target)
compare in interface Comparator<T extends AnnotatedElement>source - current annotated element to comparetarget - the baseline annotated element to compareCopyright © 2022 Unidal Organization. All rights reserved.