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.wso2.msf4j.internal.router.BasicServiceContext.java

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

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

SetType(ThriftType elementType) {
    this(elementType, ImmutableMap.of());
}

From source file:com.google.devtools.build.skydoc.fakebuildapi.test.FakeExecutionInfo.java

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

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

ListType(ThriftType elementType) {
    this(elementType, ImmutableMap.of());
}

From source file:de.ii.xtraplatform.feature.provider.pgis.SqlInsert.java

@Value.Derived
protected Map<List<String>, SqlFeatureQuery> getInserts() {
    return ImmutableMap.of();
}

From source file:com.facebook.buck.util.autosparse.FakeHgCommandlineInterface.java

public FakeHgCommandlineInterface(Path fakePath, String fakeRevisionId) {
    super(new TestProcessExecutorFactory(), Paths.get(""), "", ImmutableMap.of());
    this.fakePath = fakePath;
    this.fakeRevisionId = fakeRevisionId;
}

From source file:co.cask.tigon.internal.app.runtime.flow.DataObject.java

/**
 * Simple constructor with only event and no partition hashes.
 * @param data event//from w  w  w.ja v a2  s.  co  m
 */
public DataObject(T data) {
    this.data = data;
    this.partitions = ImmutableMap.of();
}

From source file:com.opengamma.strata.basics.index.FloatingRateNameIniLookup.java

/**
 * Loads the available indices.//from   www  . ja  v  a2s .c  om
 * 
 * @return the map of known indices
 */
static ImmutableMap<String, FloatingRateName> loadIndices() {
    try {
        IniFile ini = ResourceConfig.combinedIniFile(FLOATING_RATE_NAME_INI);
        return parseIndices(ini);

    } catch (RuntimeException ex) {
        // logging used because this is loaded in a static variable
        log.severe(Throwables.getStackTraceAsString(ex));
        // return an empty instance to avoid ExceptionInInitializerError
        return ImmutableMap.of();
    }
}

From source file:com.google.devtools.build.skydoc.fakebuildapi.test.FakeTestingEnvironmentInfo.java

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

From source file:com.facebook.presto.bytecode.ClassGenerator.java

public static ClassGenerator classGenerator(ClassLoader parentClassLoader) {
    return classGenerator(parentClassLoader, ImmutableMap.of());
}