Uses of Class
cloud.opencode.base.collections.immutable.ImmutableTable
Packages that use ImmutableTable
Package
Description
Immutable Collections Package
不可变集合包
Transform Collections Package - Collection Transformation Utilities
转换集合包 - 集合转换工具
-
Uses of ImmutableTable in cloud.opencode.base.collections.immutable
Methods in cloud.opencode.base.collections.immutable that return ImmutableTableModifier and TypeMethodDescriptionImmutableTable.Builder.build()Build the immutable table.static <R,C, V> ImmutableTable <R, C, V> ImmutableTable.of()Return an empty immutable table.static <R,C, V> ImmutableTable <R, C, V> ImmutableTable.of(R rowKey, C colKey, V value) Return an immutable table containing the given cell.static <R,C, V> ImmutableTable <R, C, V> ImmutableCollectionUtil.toTable(Map<? extends R, ? extends Map<? extends C, ? extends V>> nestedMap) Create a table from a nested map.static <R,C, V> ImmutableTable <C, R, V> ImmutableCollectionUtil.transpose(ImmutableTable<R, C, V> table) Transpose a table (swap rows and columns).Methods in cloud.opencode.base.collections.immutable with parameters of type ImmutableTableModifier and TypeMethodDescriptionstatic booleanImmutableCollectionUtil.isNullOrEmpty(ImmutableTable<?, ?, ?> table) Check if a table is null or empty.ImmutableTable.Builder.putAll(ImmutableTable<? extends R, ? extends C, ? extends V> table) Put all cells from another table.static <R,C, V> ImmutableTable <C, R, V> ImmutableCollectionUtil.transpose(ImmutableTable<R, C, V> table) Transpose a table (swap rows and columns). -
Uses of ImmutableTable in cloud.opencode.base.collections.transform
Methods in cloud.opencode.base.collections.transform that return types with arguments of type ImmutableTableModifier and TypeMethodDescriptionstatic <T,R, C, V> Collector <T, ?, ImmutableTable<R, C, V>> MoreCollectorUtil.toImmutableTable(Function<? super T, ? extends R> rowMapper, Function<? super T, ? extends C> columnMapper, Function<? super T, ? extends V> valueMapper) Collector to ImmutableTable.static <T,R, C, V> Collector <T, ?, ImmutableTable<R, C, V>> MoreCollectorUtil.toImmutableTable(Function<? super T, ? extends R> rowMapper, Function<? super T, ? extends C> columnMapper, Function<? super T, ? extends V> valueMapper, BinaryOperator<V> mergeFunction) Collector to ImmutableTable with merge function.