| org.eclipse.sisu.inject.RankingFunction |
Known Indirect Subclasses
|
Assigns each Binding a rank according to some function; higher ranks take precedence over lower ranks.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract int |
maxRank()
Estimates the maximum rank this function may assign to a
Binding. | ||||||||||
| abstract <T> int |
rank(Binding<T> binding)
Assigns a numeric rank to the given binding.
| ||||||||||
Assigns a numeric rank to the given binding.
| binding | The binding |
|---|