graphql.language.ArrayValue Maven / Gradle / Ivy
package graphql.language;
import java.util.ArrayList;
import java.util.List;
public class ArrayValue extends AbstractNode implements Value {
private List values = new ArrayList<>();
public ArrayValue() {
}
public ArrayValue(List values) {
this.values = values;
}
public List getValues() {
return values;
}
public void setValues(List values) {
this.values = values;
}
@Override
public List getChildren() {
return new ArrayList<>(values);
}
@Override
public boolean isEqualTo(Node o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
return true;
}
@Override
public String toString() {
return "ArrayValue{" +
"values=" + values +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy