@ThreadSafe public class Excel26Az extends Object
| Modifier and Type | Method and Description |
|---|---|
static @NotNull String |
index(int idx)
convert index (0-base) to Excel coordinates [A..Z]
|
static int |
index(@NotNull String col)
convert Excel coordinates [A..Z] to index (0-base), eg.
|
static @NotNull String |
number(int num)
convert number (1-base) to Excel coordinates [A..Z]
|
static int |
number(@NotNull String col)
convert Excel coordinates [A..Z] to number (1-base), eg.
|
static int |
title(@NotNull Map<String,Integer> head,
@NotNull Iterable<String> rows,
@Nullable String prefix)
map header row to the header-index map
|
public static int number(@NotNull
@NotNull String col)
@NotNull public static @NotNull String number(int num)
public static int index(@NotNull
@NotNull String col)
@NotNull public static @NotNull String index(int idx)
public static int title(@NotNull @Param.Out @NotNull Map<String,Integer> head, @NotNull @NotNull Iterable<String> rows, @Nullable @Nullable String prefix)
head - map of header and its index(0-base)rows - head rowsprefix - header prefixCopyright © 2023. All rights reserved.