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:org.apache.twill.api.AbstractTwillRunnable.java

protected AbstractTwillRunnable() {
    this.args = ImmutableMap.of();
}

From source file:com.cloudera.oryx.computation.common.records.csv.CSVSpec.java

public CSVSpec(DataType dataType) {
    this.dataType = dataType;
    this.fields = ImmutableMap.of();
}

From source file:com.android.tools.idea.gradle.stubs.android.NativeFolderStub.java

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

From source file:org.apache.gobblin.runtime.NoopEventMetadataGenerator.java

public Map<String, String> getMetadata(JobContext jobContext, EventName eventName) {
    return ImmutableMap.of();
}

From source file:org.apache.aurora.scheduler.discovery.ServiceInstance.java

/**
 * Default constructor for gson, needed to inject a default empty map.
 *///from  w  w  w  .  j av  a  2s.  c om
ServiceInstance() {
    this.serviceEndpoint = null;
    this.additionalEndpoints = ImmutableMap.of();
    this.status = "ALIVE";
}

From source file:io.prestosql.plugin.hive.HivePartition.java

public HivePartition(SchemaTableName tableName) {
    this(tableName, UNPARTITIONED_ID, ImmutableMap.of());
}

From source file:com.isotrol.impe3.api.Portal.java

private static <K, V> ImmutableMap<K, V> map(Map<K, V> map) {
    if (map == null || map.isEmpty()) {
        return ImmutableMap.of();
    } else {/*from  w  w w  .  j  a v a2  s  .c o  m*/
        return ImmutableMap.copyOf(map);
    }
}

From source file:org.attribyte.relay.NOOPTransformer.java

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

From source file:com.microsoft.thrifty.schema.MapType.java

MapType(ThriftType keyType, ThriftType valueType) {
    this(keyType, valueType, ImmutableMap.of());
}

From source file:it.unibz.krdb.obda.owlrefplatform.core.basicoperations.NeutralSubstitution.java

@Override
public Map<Variable, Term> getMap() {
    return ImmutableMap.of();
}