public class HashTableUtils extends Object
| Constructor and Description |
|---|
HashTableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <R,C,T> com.google.common.collect.Table<R,C,T> |
createHashTable(Iterable<T> source,
Function<? super T,? extends R> r,
Function<? super T,? extends C> c)
将指定的实体类转化成谷歌Table
|
static <T,R,C,V> com.google.common.collect.Table<R,C,V> |
createHashTable(Iterable<T> source,
Function<? super T,? extends R> r,
Function<? super T,? extends C> c,
Function<? super T,? extends V> v)
将指定的实体类转化成谷歌Table
|
public static <T,R,C,V> com.google.common.collect.Table<R,C,V> createHashTable(Iterable<T> source, Function<? super T,? extends R> r, Function<? super T,? extends C> c, Function<? super T,? extends V> v)
T - 源集合元素泛型R - Table行元素泛型C - Table列元素泛型V - Table值元素泛型source - 源集合实例r - 行转换规则c - 列转换规则v - 值转换规则public static <R,C,T> com.google.common.collect.Table<R,C,T> createHashTable(Iterable<T> source, Function<? super T,? extends R> r, Function<? super T,? extends C> c)
T - 源集合元素泛型R - Table行元素泛型C - Table列元素泛型source - 源集合实例r - 行转换规则c - 列转换规则Copyright © 2021. All rights reserved.