public abstract static class Common.MemberUtils
extends java.lang.Object
Constructor and Description |
---|
Common.MemberUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
compareParameterTypes(java.lang.Class<?>[] left,
java.lang.Class<?>[] right,
java.lang.Class<?>[] actual)
Compares the relative fitness of two sets of parameter types in terms of
matching a third set of runtime parameter types, such that a list ordered
by the results of the comparison would return the best match first
(least).
|
public static int compareParameterTypes(java.lang.Class<?>[] left, java.lang.Class<?>[] right, java.lang.Class<?>[] actual)
left
- the "left" parameter setright
- the "right" parameter setactual
- the runtime parameter types to match against
left
/right
compare
semantics