1 16 17 package com.google.inject.binder; 18 19 22 public interface ConstantBindingBuilder { 23 24 27 void to(String value); 28 29 32 void to(int value); 33 34 37 void to(long value); 38 39 42 void to(boolean value); 43 44 47 void to(double value); 48 49 52 void to(float value); 53 54 57 void to(short value); 58 59 62 void to(char value); 63 64 67 void to(Class <?> value); 68 69 72 <E extends Enum <E>> void to(E value); 73 } 74 | Popular Tags |