|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RankingFunction
Assigns each Binding
a rank according to some function; higher ranks take precedence over lower ranks.
Method Summary | ||
---|---|---|
int |
maxRank()
Estimates the maximum possible rank for this function; used to arrange injectors in order of ranking probability. |
|
|
rank(com.google.inject.Binding<T> binding)
Assigns a numeric rank to the given binding. |
Method Detail |
---|
int maxRank()
<T> int rank(com.google.inject.Binding<T> binding)
binding
- The binding
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |