Home
last modified time | relevance | path

Searched refs:defaultKey (Results 1 – 3 of 3) sorted by relevance

/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DOptionalBinder.java302 private final Key<T> defaultKey; field in OptionalBinder.RealOptionalBinder
330 this.defaultKey = Key.get(typeKey.getTypeLiteral(), new DefaultImpl(name)); in RealOptionalBinder()
360 return defaultKey; in getKeyForDefaultBinding()
519 defaultBinding = injector.getExistingBinding(defaultKey); in initialize()
641 || elementKey.equals(defaultKey) in containsElement()
/external/icu/icu4c/source/i18n/
Ducol_sit.cpp471 const UChar *defaultKey = ures_getString(defaultColl, &defaultKeyLen, status); in ucol_prepareShortStringOpen() local
472 u_UCharsToChars(defaultKey, keyBuffer, defaultKeyLen); in ucol_prepareShortStringOpen()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java830 Key<?> defaultKey = null; in optionalModuleTest() local
847 defaultKey = binding.getKey(); in optionalModuleTest()
857 assertEquals(expectedDefault == null, defaultKey == null); in optionalModuleTest()
932 } else if (key != null && key.equals(defaultKey)) { in optionalModuleTest()