class ImmutableTableFactory {

    public static <R, C, V> ImmutableTable<R, C, V> createWithColumns(
            Map<? extends R, ? extends V> baseMap,
            Collection<? extends C> columns) {
        ImmutableTable.Builder<R, C, V> tableBuilder = ImmutableTable.builder();

        columns.forEach(column ->
                baseMap.forEach((r, v) -> tableBuilder.put(r, column, v)));

        return tableBuilder.build();
    }

}