com.squarespace.cldrengine.message.MessageSelectCode Maven / Gradle / Ivy
The newest version!
package com.squarespace.cldrengine.message;
import java.util.List;
import com.google.gson.JsonArray;
public class MessageSelectCode extends MessageCode {
protected final List extends Object> arguments;
protected final List choices;
public MessageSelectCode(List extends Object> arguments, List choices) {
super(MessageOpType.SELECT);
this.arguments = arguments;
this.choices = choices;
}
public List extends Object> args() {
return arguments;
}
public List choices() {
return choices;
}
@Override
protected void _toJson(JsonArray arr) {
arr.add(arrayOf(arguments));
arr.add(arrayOf(choices));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy