Example usage for com.google.common.collect ImmutableMap of

List of usage examples for com.google.common.collect ImmutableMap of

Introduction

In this page you can find the example usage for com.google.common.collect ImmutableMap of.

Prototype

public static <K, V> ImmutableMap<K, V> of() 

Source Link

Usage

From source file:com.google.api.codegen.metacode.InitValueConfig.java

public static Builder newBuilder() {
    return new AutoValue_InitValueConfig.Builder().setResourceNameBindingValues(ImmutableMap.of());
}

From source file:com.facebook.buck.cxx.HeaderPathNormalizer.java

public static HeaderPathNormalizer empty(SourcePathResolver pathResolver) {
    return new HeaderPathNormalizer(pathResolver, ImmutableMap.of(), ImmutableMap.of());
}

From source file:com.github.lukaszbudnik.dqueue.QueueClient.java

default Future<Optional<Item>> consume() {
    return consume(ImmutableMap.of());
}

From source file:org.opendaylight.infrautils.caches.noop.internal.NoopCacheStats.java

@Override
public ImmutableMap<String, Number> extensions() {
    return ImmutableMap.of();
}

From source file:org.immutables.fixture.jdkonly.EmptyEnumMapAndSet.java

@Value.Default
public Map<Generations, String> genNames() {
    return ImmutableMap.of();
}

From source file:io.sidecar.query.StatsAnswer.java

public StatsAnswer(Map<String, Map<String, Double>> statsKeys) {
    if (statsKeys == null) {
        keys = ImmutableMap.of();
    } else {/* ww w  .j  a  va 2 s .  c  o m*/
        Builder<String, ImmutableMap<String, Double>> imb = ImmutableMap.builder();
        for (Map.Entry<String, Map<String, Double>> e : statsKeys.entrySet()) {
            imb.put(e.getKey(), ImmutableMap.copyOf(e.getValue()));
        }
        keys = imb.build();
    }
}

From source file:com.facebook.buck.util.config.AbstractRawConfig.java

/** Returns an empty config. */
public static RawConfig of() {
    return RawConfig.of(ImmutableMap.of());
}

From source file:org.zanata.util.Annotations.java

public static <A extends Annotation> A dummy(Class<A> clazz) {
    return create(clazz, ImmutableMap.of());
}

From source file:eu.itesla_project.dymola.DymolaStabilizationResult.java

@Override
public Map<String, String> getMetrics() {
    return ImmutableMap.of();
}

From source file:org.wso2.msf4j.internal.router.InterceptorTestBase.java

int doGet(String resource) throws Exception {
    return doGet(resource, ImmutableMap.of());
}