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

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

Introduction

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

Prototype

public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) 

Source Link

Usage

From source file:google.registry.tools.server.ListTldsAction.java

@Override
public ImmutableBiMap<String, String> getFieldAliases() {
    return ImmutableBiMap.of("TLD", "tldStr", "dns", "dnsPaused", "escrow", "escrowEnabled", "premiumPricing",
            "premiumPriceAckRequired");
}