Interface IPriorityRule
-
- All Superinterfaces:
Comparator<ITableProperties>
- All Known Implementing Classes:
FilledPropertiesPriorityRule,IntersectedPropertiesPriorityRule
public interface IPriorityRule extends Comparator<ITableProperties>
Priority rule serves to determine most suitable table to invoke in overloaded methods group.- Author:
- PUdalau
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcompare(ITableProperties properties1, ITableProperties properties2)-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
int compare(ITableProperties properties1, ITableProperties properties2)
- Specified by:
comparein interfaceComparator<ITableProperties>- Returns:
- a negative integer, zero, or a positive integer as the first argument is more prior than, has the same priority to, or is less prior.
-
-