[]
Serializable, Comparable<SearchOrder>, Constable将此枚举与搜索相关 API 一起使用,可以控制搜索是逐行进行还是逐列进行。
worksheet.getRange("A1:C3").setValue(new Object[][] {
{"Name", "Score", "City"},
{"Alice", 100, "Paris"},
{"Bob", 100, "Tokyo"}
});
FindOptions options = new FindOptions();
options.setSearchOrder(SearchOrder.ByColumns);
IRange found = worksheet.getRange("A1:C3").find(100, null, options);
Enum.EnumDesc<E extends Enum<E>>static SearchOrderforValue(int value) intgetValue()static SearchOrderstatic SearchOrder[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null