/external/guava/guava/src/com/google/thirdparty/publicsuffix/ |
PublicSuffixPatterns.java | 23 import com.google.common.collect.ImmutableMap; 44 public static final ImmutableMap<String, PublicSuffixType> EXACT = [all...] |
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ExtensionSpiTest.java | 23 import com.google.common.collect.ImmutableMap; 81 new Params("/class", Key.get(DummyFilterImpl.class), ImmutableMap.of(), SERVLET), 82 new Params("/class/2", Key.get(DummyFilterImpl.class), ImmutableMap.of(), SERVLET), 83 new Params("/key", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), SERVLET), 84 new Params("/key/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), SERVLET), 85 new Params("/instance", dummyFilter1, ImmutableMap.of(), SERVLET), 86 new Params("/instance/2", dummyFilter1, ImmutableMap.of(), SERVLET), 87 new Params("/class/keyvalues", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), SERVLET), 88 new Params("/class/keyvalues/2", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), SERVLET), 89 new Params("/key/keyvalues", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of("key", "value"), SERVLET) [all...] |
/frameworks/base/tools/aapt2/util/ |
ImmutableMap.h | 28 class ImmutableMap { 35 ImmutableMap(ImmutableMap&&) = default; 36 ImmutableMap& operator=(ImmutableMap&&) = default; 38 static ImmutableMap<TKey, TValue> CreatePreSorted( 40 return ImmutableMap( 44 static ImmutableMap<TKey, TValue> CreateAndSort( 48 return ImmutableMap(std::move(data)); 72 DISALLOW_COPY_AND_ASSIGN(ImmutableMap); [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
RegularImmutableBiMap.java | 32 RegularImmutableBiMap(ImmutableMap<K, V> delegate) { 35 ImmutableMap.Builder<V, K> builder = ImmutableMap.builder(); 39 ImmutableMap<V, K> backwardMap = builder.build(); 43 RegularImmutableBiMap(ImmutableMap<K, V> delegate,
|
/external/guava/guava/src/com/google/common/collect/ |
SingletonImmutableTable.java | 46 @Override public ImmutableMap<R, V> column(C columnKey) { 49 ? ImmutableMap.of(singleRowKey, singleValue) 50 : ImmutableMap.<R, V>of(); 53 @Override public ImmutableMap<C, Map<R, V>> columnMap() { 54 return ImmutableMap.of(singleColumnKey, 55 (Map<R, V>) ImmutableMap.of(singleRowKey, singleValue)); 58 @Override public ImmutableMap<R, Map<C, V>> rowMap() { 59 return ImmutableMap.of(singleRowKey, 60 (Map<C, V>) ImmutableMap.of(singleColumnKey, singleValue));
|
SparseImmutableTable.java | 32 private final ImmutableMap<R, Map<C, V>> rowMap; 33 private final ImmutableMap<C, Map<R, V>> columnMap; 69 ImmutableMap.Builder<R, Map<C, V>> rowBuilder = ImmutableMap.builder(); 71 rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue())); 75 ImmutableMap.Builder<C, Map<R, V>> columnBuilder = ImmutableMap.builder(); 77 columnBuilder.put(col.getKey(), ImmutableMap.copyOf(col.getValue())); 82 @Override public ImmutableMap<C, Map<R, V>> columnMap() { 86 @Override public ImmutableMap<R, Map<C, V>> rowMap() [all...] |
ExplicitOrdering.java | 29 final ImmutableMap<T, Integer> rankMap; 35 ExplicitOrdering(ImmutableMap<T, Integer> rankMap) { 51 private static <T> ImmutableMap<T, Integer> buildRankMap( 53 ImmutableMap.Builder<T, Integer> builder = ImmutableMap.builder();
|
DenseImmutableTable.java | 33 private final ImmutableMap<R, Integer> rowKeyToIndex; 34 private final ImmutableMap<C, Integer> columnKeyToIndex; 35 private final ImmutableMap<R, Map<C, V>> rowMap; 36 private final ImmutableMap<C, Map<R, V>> columnMap; 43 private static <E> ImmutableMap<E, Integer> makeIndex(ImmutableSet<E> set) { 44 ImmutableMap.Builder<E, Integer> indexBuilder = ImmutableMap.builder(); 87 private abstract static class ImmutableArrayMap<K, V> extends ImmutableMap<K, V> { 94 abstract ImmutableMap<K, Integer> keyToIndex(); 126 @Override ImmutableMap<K, V> map() [all...] |
EmptyImmutableListMultimap.java | 32 super(ImmutableMap.<Object, ImmutableList<Object>>of(), 0);
|
EmptyImmutableSetMultimap.java | 32 super(ImmutableMap.<Object, ImmutableSet<Object>>of(), 0, null);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
TaintManager.h | 21 #include "llvm/ADT/ImmutableMap.h" 32 typedef llvm::ImmutableMap<SymbolRef, TaintTagType> TaintMapImpl;
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
VmDataCollectingVisitor.java | 26 import com.google.common.collect.ImmutableMap; 34 private final ImmutableMap.Builder<String, String> vmOptionsBuilder = ImmutableMap.builder(); 36 private Optional<ImmutableMap<String, String>> vmProperties = Optional.absent(); 48 ImmutableMap<String, String> options = vmOptionsBuilder.build(); 68 vmProperties = Optional.of(ImmutableMap.copyOf(
|
InstrumentInjectorModule.java | 20 import com.google.common.collect.ImmutableMap; 46 static ImmutableMap<String, String> provideInstrumentOptions(InstrumentConfig config) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ContactLoaderCallbacks.java | 30 import com.google.common.collect.ImmutableMap; 39 LoaderManager.LoaderCallbacks<ImmutableMap<String, ContactInfo>> { 42 private ImmutableMap<String, ContactInfo> mContactInfoMap; 56 public Loader<ImmutableMap<String, ContactInfo>> onCreateLoader(int id, Bundle args) { 61 public void onLoadFinished(Loader<ImmutableMap<String, ContactInfo>> loader, 62 ImmutableMap<String, ContactInfo> data) { 68 public void onLoaderReset(Loader<ImmutableMap<String, ContactInfo>> loader) {
|
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
VmPropertiesLogMessage.java | 22 import com.google.common.collect.ImmutableMap; 34 private final ImmutableMap<String, String> properties; 37 this(ImmutableMap.copyOf(Maps.fromProperties(System.getProperties()))); 40 public VmPropertiesLogMessage(ImmutableMap<String, String> properties) { 44 public ImmutableMap<String, String> properties() {
|
WorkerSpec.java | 21 import com.google.common.collect.ImmutableMap; 36 public final ImmutableMap<String, String> workerOptions; 48 ImmutableMap<String, String> workerOptions,
|
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
ResultProcessorConfig.java | 23 import com.google.common.collect.ImmutableMap; 35 private final ImmutableMap<String, String> options; 46 public ImmutableMap<String, String> options() { 76 private ImmutableMap.Builder<String, String> optionsBuilder = ImmutableMap.builder();
|
CaliperConfig.java | 35 import com.google.common.collect.ImmutableMap; 54 @VisibleForTesting final ImmutableMap<String, String> properties; 55 private final ImmutableMap<Class<? extends ResultProcessor>, ResultProcessorConfig> 59 public CaliperConfig(ImmutableMap<String, String> properties) 68 ImmutableMap<String, String> groupProperties, Class<T> type) 89 private static ImmutableMap<Class<? extends ResultProcessor>, ResultProcessorConfig> 90 findResultProcessorConfigs(ImmutableMap<String, String> resultsProperties) 94 ImmutableMap.Builder<Class<? extends ResultProcessor>, ResultProcessorConfig> builder = 95 ImmutableMap.builder(); 102 public ImmutableMap<String, String> properties() [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableEnumMapTest.java | 50 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of()); 51 assertEquals(ImmutableMap.of(), map); 55 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap( 56 ImmutableMap.of(AnEnum.C, "c", AnEnum.A, "a", AnEnum.E, "e"));
|
SingletonImmutableTableTest.java | 44 assertEquals(ImmutableMap.of(), testTable.column(0)); 45 assertEquals(ImmutableMap.of('a', "blah"), testTable.column(1)); 53 assertEquals(ImmutableMap.of(1, ImmutableMap.of('a', "blah")), testTable.columnMap()); 57 assertEquals(ImmutableMap.of(), testTable.row('A')); 58 assertEquals(ImmutableMap.of(1, "blah"), testTable.row('a')); 66 assertEquals(ImmutableMap.of('a', ImmutableMap.of(1, "blah")),
|
ImmutableMapTest.java | 21 import com.google.common.collect.ImmutableMap.Builder; 38 * Tests for {@link ImmutableMap}. 81 return ImmutableMap.of(); 85 return ImmutableMap.of("one", 1, "two", 2, "three", 3); 100 return ImmutableMap.of("one", 1); 121 return ImmutableMap.of( 139 ImmutableMap<String, Integer> map 145 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 152 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 164 ImmutableMap<String, Integer> map = new Builder<String, Integer>( [all...] |
/external/llvm/unittests/ADT/ |
ImmutableMapTest.cpp | 1 //===----------- ImmutableMapTest.cpp - ImmutableMap unit tests ------------===// 11 #include "llvm/ADT/ImmutableMap.h" 18 ImmutableMap<int, int>::Factory f; 24 ImmutableMap<int, int> S = f.getEmptyMap(); 31 ImmutableMap<int, int>::Factory f; 32 ImmutableMap<int, int> S = f.getEmptyMap(); 34 ImmutableMap<int, int> S2 = f.add(f.add(f.add(S, 3, 10), 4, 11), 5, 12);
|
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/ |
MultibindingTest.java | 17 import com.google.common.collect.ImmutableMap; 75 ImmutableMap.of( 83 .isEqualTo(ImmutableMap.of(testStringKey("foo\n"), "foo annotation")); 92 ImmutableMap.of( 100 assertThat(multibindingComponent.booleanKeyMap()).isEqualTo(ImmutableMap.of(true, "true")); 106 .isEqualTo(ImmutableMap.of((byte) 100, "100 byte")); 112 .isEqualTo(ImmutableMap.of('a', "a char", '\n', "newline char")); 119 ImmutableMap.of( 128 ImmutableMap.of( 135 assertThat(multibindingComponent.integerKeyMap()).isEqualTo(ImmutableMap.of(100, "100 int")) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
SingletonImmutableTableTest.java | 45 assertEquals(ImmutableMap.of(), testTable.column(0)); 46 assertEquals(ImmutableMap.of('a', "blah"), testTable.column(1)); 54 assertEquals(ImmutableMap.of(1, ImmutableMap.of('a', "blah")), testTable.columnMap()); 58 assertEquals(ImmutableMap.of(), testTable.row('A')); 59 assertEquals(ImmutableMap.of(1, "blah"), testTable.row('a')); 67 assertEquals(ImmutableMap.of('a', ImmutableMap.of(1, "blah")),
|
/external/guice/core/src/com/google/inject/internal/ |
ConstructionProxy.java | 19 import com.google.common.collect.ImmutableMap; 55 ImmutableMap<Method, List<org.aopalliance.intercept.MethodInterceptor>> getMethodInterceptors();
|