jpmml / jpmml-evaluator-spark

PMML evaluator library for the Apache Spark cluster computing system (http://spark.apache.org/)
GNU Affero General Public License v3.0
94 stars 43 forks source link

Replace `java.util.List<E>` parameters with `E[]` parameters in method signatures #30

Open vruusmann opened 5 years ago

vruusmann commented 5 years ago

This library is developed using the Java language, but the majority of users are working with it using the Scala language.

Method signatures should be "designed" in a way that would eliminate the need for Scala-to-Java type casts and/or conversions. For example, the List type is different/incompatible between these two languages, whereas the array type is the same.