com.google.inject.binder

Interface ConstantBindingBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void to(boolean value)
      Binds constant to the given value.
      void to(byte value)
      Binds constant to the given value.
      void to(char value)
      Binds constant to the given value.
      void to(Class<?> value)
      Binds constant to the given value.
      void to(double value)
      Binds constant to the given value.
      <E extends Enum<E>>
      void
      to(E value)
      Binds constant to the given value.
      void to(float value)
      Binds constant to the given value.
      void to(int value)
      Binds constant to the given value.
      void to(long value)
      Binds constant to the given value.
      void to(short value)
      Binds constant to the given value.
      void to(String value)
      Binds constant to the given value.
    • Method Detail

      • to

        void to(String value)
        Binds constant to the given value.
      • to

        void to(int value)
        Binds constant to the given value.
      • to

        void to(long value)
        Binds constant to the given value.
      • to

        void to(boolean value)
        Binds constant to the given value.
      • to

        void to(double value)
        Binds constant to the given value.
      • to

        void to(float value)
        Binds constant to the given value.
      • to

        void to(short value)
        Binds constant to the given value.
      • to

        void to(char value)
        Binds constant to the given value.
      • to

        void to(byte value)
        Binds constant to the given value.
        Since:
        3.0
      • to

        void to(Class<?> value)
        Binds constant to the given value.
      • to

        <E extends Enum<E>> void to(E value)
        Binds constant to the given value.

Copyright © 2006–2018 Google, Inc.. All rights reserved.