Enum Class Answer.RefusalAnswer
- All Implemented Interfaces:
Answer, Serializable, Comparable<Answer.RefusalAnswer>, Constable
- Enclosing interface:
Answer
这是一个供应商拒绝回答的问题的答案。拒绝回答的情况是按每个问题单独记录的。
Classifier.classify(ClassifierRequest) “call”仍然可以用来回答其他问题。-
嵌套类概述
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface Answer
Answer.BinaryAnswer, Answer.ChoiceAnswer, Answer.RefusalAnswer, Answer.ScoreAnswerModifier and TypeInterfaceDescriptionstatic class……的答案是……Question.Binaryquestion.static class……的答案是……Question.Choicequestion.static enum这是一个供应商拒绝回答的问题的答案。static class……的答案是……Question.Scorequestion. -
枚举常量概述
Enum Constants -
方法概述
Modifier and TypeMethodDescriptionstatic Answer.RefusalAnswer返回该类中具有指定名称的枚举常量。static Answer.RefusalAnswer[]values()返回一个数组,其中包含该枚举类中的所有常量,并按照它们被声明的顺序排列。
-
枚举常量详细信息
-
INSTANCE
-
-
方法详细信息(Method Details)
-
values
返回一个数组,其中包含该枚举类中的所有常量,并按照它们被声明的顺序排列。- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
返回该类中具有指定名称的枚举常量。 该字符串必须与指定的名称完全匹配。 确切地;准确地 这是一个用于在该类中声明枚举常量的标识符。(不允许使用多余的空白字符。)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-