|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.ContainerBuilder.ConstantBindingBuilder
public class ContainerBuilder.ConstantBindingBuilder
Builds a constant binding.
Method Summary | ||
---|---|---|
ContainerBuilder.ConstantBindingBuilder |
from(java.lang.Object source)
Sets the source object. |
|
ContainerBuilder.ConstantBindingBuilder |
to(boolean value)
Binds constant to the given value. |
|
ContainerBuilder.ConstantBindingBuilder |
to(char value)
Binds constant to the given value. |
|
ContainerBuilder.ConstantBindingBuilder |
to(java.lang.Class<?> value)
Binds constant to the given value. |
|
ContainerBuilder.ConstantBindingBuilder |
to(double value)
Binds constant to the given value. |
|
|
to(E value)
Binds constant to the given value. |
|
ContainerBuilder.ConstantBindingBuilder |
to(float value)
Binds constant to the given value. |
|
ContainerBuilder.ConstantBindingBuilder |
to(int value)
Binds constant to the given value. |
|
ContainerBuilder.ConstantBindingBuilder |
to(long value)
Binds constant to the given value. |
|
ContainerBuilder.ConstantBindingBuilder |
to(short value)
Binds constant to the given value. |
|
ContainerBuilder.ConstantBindingBuilder |
to(java.lang.String value)
Binds constant to the given value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ContainerBuilder.ConstantBindingBuilder from(java.lang.Object source)
public ContainerBuilder.ConstantBindingBuilder to(java.lang.String value)
public ContainerBuilder.ConstantBindingBuilder to(int value)
public ContainerBuilder.ConstantBindingBuilder to(long value)
public ContainerBuilder.ConstantBindingBuilder to(boolean value)
public ContainerBuilder.ConstantBindingBuilder to(double value)
public ContainerBuilder.ConstantBindingBuilder to(float value)
public ContainerBuilder.ConstantBindingBuilder to(short value)
public ContainerBuilder.ConstantBindingBuilder to(char value)
public ContainerBuilder.ConstantBindingBuilder to(java.lang.Class<?> value)
public <E extends java.lang.Enum<E>> ContainerBuilder.ConstantBindingBuilder to(E value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |