public interface RankingFunction
Binding a rank according to some function; higher ranks take precedence over lower ranks.| Modifier and Type | Method and Description |
|---|---|
int |
maxRank()
Estimates the maximum possible rank for this function; used to arrange injectors in order of ranking probability.
|
<T> int |
rank(com.google.inject.Binding<T> binding)
Assigns a numeric rank to the given binding.
|
int maxRank()
<T> int rank(com.google.inject.Binding<T> binding)
binding - The bindingCopyright © 2010-2020 Sonatype, Inc.. All Rights Reserved.