[]
Serializable, Comparable<DupeUnique>, ConstableThis enumeration is used by IUniqueValues to control whether the rule highlights values that appear only once in the specified range or values that are repeated.
worksheet.getRange("A1:A5").setValue(new Object[][] {
{1}, {2}, {1}, {3}, {4}
});
IUniqueValues condition = worksheet.getRange("A1:A5").getFormatConditions().addUniqueValues();
condition.getInterior().setColor(Color.GetYellow());
condition.setDupeUnique(DupeUnique.Unique);
Enum.EnumDesc<E extends Enum<E>>static DupeUniquestatic DupeUnique[]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