com.google.inject.binder.ConstantBindingBuilder |
Class Overview
Binds to a constant value.
Summary
Public Methods |
abstract
<E extends Enum<E>>
void
|
to(E value)
Binds constant to the given value.
|
abstract
void
|
to(boolean value)
Binds constant to the given value.
|
abstract
void
|
to(byte value)
Binds constant to the given value.
|
abstract
void
|
to(char value)
Binds constant to the given value.
|
abstract
void
|
to(double value)
Binds constant to the given value.
|
abstract
void
|
to(float value)
Binds constant to the given value.
|
abstract
void
|
to(int value)
Binds constant to the given value.
|
abstract
void
|
to(Class<?> value)
Binds constant to the given value.
|
abstract
void
|
to(String value)
Binds constant to the given value.
|
abstract
void
|
to(long value)
Binds constant to the given value.
|
abstract
void
|
to(short value)
Binds constant to the given value.
|
Public Methods
public
abstract
void
to
(E value)
Binds constant to the given value.
public
abstract
void
to
(boolean value)
Binds constant to the given value.
public
abstract
void
to
(byte value)
Binds constant to the given value.
public
abstract
void
to
(char value)
Binds constant to the given value.
public
abstract
void
to
(double value)
Binds constant to the given value.
public
abstract
void
to
(float value)
Binds constant to the given value.
public
abstract
void
to
(int value)
Binds constant to the given value.
public
abstract
void
to
(Class<?> value)
Binds constant to the given value.
public
abstract
void
to
(String value)
Binds constant to the given value.
public
abstract
void
to
(long value)
Binds constant to the given value.
public
abstract
void
to
(short value)
Binds constant to the given value.