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 java.lang.Enum<K>,V extends java.lang.Enum<V>> |
EnumBiMap.create(java.lang.Class<K> keyType,
java.lang.Class<V> valueType)
Returns a new, empty
EnumBiMap using the specified key and value types. |
static <K extends java.lang.Enum<K>,V extends java.lang.Enum<V>> |
EnumBiMap.create(java.util.Map<K,V> map)
Returns a new bimap with the same mappings as the specified map.
|
Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.