Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Method and Description |
---|---|
static <K extends Enum<K>,V extends Enum<V>> |
EnumBiMap.create(Class<K> keyType,
Class<V> valueType)
Returns a new, empty
EnumBiMap using the specified key and value types. |
static <K extends Enum<K>,V extends Enum<V>> |
EnumBiMap.create(Map<K,V> map)
Returns a new bimap with the same mappings as the specified map.
|
Copyright © 2010–2018. All rights reserved.