|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.util.Maps2
public class Maps2
General utilities used in jclouds code for Maps.
| Constructor Summary | |
|---|---|
Maps2()
|
|
| Method Summary | ||
|---|---|---|
static
|
transformKeys(Map<K1,V> in,
com.google.common.base.Function<K1,K2> fn)
change the keys but keep the values in-tact. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Maps2()
| Method Detail |
|---|
public static <K1,K2,V> Map<K2,V> transformKeys(Map<K1,V> in,
com.google.common.base.Function<K1,K2> fn)
K1 - input key typeK2 - output key typeV - value typein - input map to transformfn - how to transform the values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||