Home
last modified time | relevance | path

Searched refs:mapBinder (Results 1 – 2 of 2) sorted by relevance

/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMapBinderTest.java583 MapBinder<String, String> mapBinder = MapBinder.newMapBinder( in testMapBinderMultimapIsUnmodifiable()
585 mapBinder.addBinding("a").toInstance("A"); in testMapBinderMultimapIsUnmodifiable()
586 mapBinder.permitDuplicates(); in testMapBinderMultimapIsUnmodifiable()
672 MapBinder<Integer, String> mapBinder in testMultibinderDependencies()
674 mapBinder.addBinding(1).toInstance("A"); in testMultibinderDependencies()
675 mapBinder.addBinding(2).to(Key.get(String.class, Names.named("b"))); in testMultibinderDependencies()
709 MapBinder<Integer, String> mapBinder in testMultibinderDependenciesInToolStage()
711 mapBinder.addBinding(1).toInstance("A"); in testMultibinderDependenciesInToolStage()
712 mapBinder.addBinding(2).to(Key.get(String.class, Names.named("b"))); in testMultibinderDependenciesInToolStage()
733 MapBinder<String, String> mapBinder in testBindOrderEqualsIterationOrder()
[all …]
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DMapBinder.java254 RealMapBinder<K, V> mapBinder = in newRealMapBinder() local
256 binder.install(mapBinder); in newRealMapBinder()
257 return mapBinder; in newRealMapBinder()