Class IntArrayParam

All Implemented Interfaces:
Serializable, scala.Serializable

public class IntArrayParam extends Param<int[]>
Specialized version of Param[Array[Int} for Java.
See Also:
  • Constructor Details

  • Method Details

    • jsonDecode

      public int[] jsonDecode(String json)
      Description copied from class: Param
      Decodes a param value from JSON.
      jsonDecode in class Param<int[]>
    • jsonEncode

      public String jsonEncode(int[] value)
      Description copied from class: Param
      Encodes a param value into JSON, which can be decoded by `jsonDecode()`.
      jsonEncode in class Param<int[]>
    • w

      public ParamPair<int[]> w(List<Integer> value)
      Creates a param pair with a `java.util.List` of values (for Java and Python).