HomeSort by relevance Sort by last modified time
    Searched refs:ImmutableMap (Results 26 - 50 of 575) sorted by null

12 3 4 5 6 7 8 91011>>

  /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) {
  /external/turbine/java/com/google/turbine/binder/env/
SimpleEnv.java 19 import com.google.common.collect.ImmutableMap;
22 /** A simple {@link ImmutableMap}-backed {@link Env}. */
25 private final ImmutableMap<K, V> map;
27 public SimpleEnv(ImmutableMap<K, V> map) {
35 public ImmutableMap<K, V> asMap() {
41 private final ImmutableMap.Builder<K, V> map = ImmutableMap.builder();
  /external/desugar/java/com/google/devtools/common/options/
OptionFilterDescriptions.java 16 import com.google.common.collect.ImmutableMap;
40 static ImmutableMap<OptionDocumentationCategory, String> getOptionCategoriesEnumDescription(
42 ImmutableMap.Builder<OptionDocumentationCategory, String> optionCategoriesBuilder =
43 ImmutableMap.builder();
89 public static ImmutableMap<OptionEffectTag, String> getOptionEffectTagDescription(
91 ImmutableMap.Builder<OptionEffectTag, String> effectTagDescriptionBuilder =
92 ImmutableMap.builder();
156 public static ImmutableMap<OptionMetadataTag, String> getOptionMetadataTagDescription(
158 ImmutableMap.Builder<OptionMetadataTag, String> effectTagDescriptionBuilder =
159 ImmutableMap.builder()
    [all...]
  /external/guava/guava/src/com/google/common/collect/
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();
  /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/desugar/java/com/google/devtools/build/android/desugar/
IndexedInputs.java 19 import com.google.common.collect.ImmutableMap;
33 private final ImmutableMap<String, InputFileProvider> inputFiles;
53 ImmutableMap<String, InputFileProvider> inputFiles, IndexedInputs parentIndexedInputs) {
82 private ImmutableMap<String, InputFileProvider> indexInputs(
92 return ImmutableMap.copyOf(indexedInputs);
  /external/desugar/java/com/google/devtools/common/options/testing/
ConverterTesterMap.java 18 import com.google.common.collect.ImmutableMap;
30 private final ImmutableMap<Class<? extends Converter<?>>, ConverterTester> delegate;
33 ImmutableMap<Class<? extends Converter<?>>, ConverterTester> delegate) {
44 private final ImmutableMap.Builder<Class<? extends Converter<?>>, ConverterTester> delegate;
47 this.delegate = ImmutableMap.builder();
  /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/turbine/java/com/google/turbine/type/
AnnoInfo.java 22 import com.google.common.collect.ImmutableMap;
35 private final ImmutableMap<String, Const> values;
38 SourceFile source, ClassSymbol sym, Anno tree, ImmutableMap<String, Const> values) {
61 public ImmutableMap<String, Const> values() {
70 public AnnoInfo withValues(ImmutableMap<String, Const> values) {
  /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...]
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/
PhoneLookup.java 22 import com.google.common.collect.ImmutableMap;
30 * for example {@link #isDirty(ImmutableSet)}, {@link #getMostRecentInfo(ImmutableMap)}, and {@link
61 ListenableFuture<ImmutableMap<DialerPhoneNumber, T>> getMostRecentInfo(
62 ImmutableMap<DialerPhoneNumber, T> existingInfoMap);
77 * Called when the results of the {@link #getMostRecentInfo(ImmutableMap)} have been applied by
81 * invocations of {@link #isDirty(ImmutableSet)} and {@link #getMostRecentInfo(ImmutableMap)} can
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/edgecases/
MultipleStepsSignInActivity.java 21 import com.google.common.collect.ImmutableMap;
33 return ImmutableMap.copyOf(steps);
  /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();
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowDebug.java 6 import com.google.common.collect.ImmutableMap;
25 return ImmutableMap.<String, String>builder().build();
  /packages/apps/Dialer/java/com/android/dialer/commandline/
CommandLineComponent.java 22 import com.google.common.collect.ImmutableMap;
29 public abstract Supplier<ImmutableMap<String, Command>> commandSupplier();

Completed in 1360 milliseconds

12 3 4 5 6 7 8 91011>>