Initializing help system before first use

VariableBuilder

  • java.lang.Object
    • com.dashoptimization.VariableBuilder

  • public class VariableBuilder
    extends java.lang.Object
    Utility classes to create variables.
    • Constructor Detail

      • VariableBuilder

        public VariableBuilder()
    • Method Detail

      • array

        public static VariableBuilder.ArrayBuilder array​(int dim)
        Create a builder that will create a multi-dimensional array of columns/variables with the specified dimensions.
        Parameters:
        dim - Dimension.
        Returns:
        The new builder.
        Since:
        43.00
      • array2

        public static VariableBuilder.Array2Builder array2​(int dim1,
                                                           int dim2)
        Create a builder that will create a multi-dimensional array of columns/variables with the specified dimensions.
        Parameters:
        dim1 - Dimension 1.
        dim2 - Dimension 2.
        Returns:
        The new builder.
        Since:
        43.00
      • array3

        public static VariableBuilder.Array3Builder array3​(int dim1,
                                                           int dim2,
                                                           int dim3)
        Create a builder that will create a multi-dimensional array of columns/variables with the specified dimensions.
        Parameters:
        dim1 - Dimension 1.
        dim2 - Dimension 2.
        dim3 - Dimension 3.
        Returns:
        The new builder.
        Since:
        43.00
      • array4

        public static VariableBuilder.Array4Builder array4​(int dim1,
                                                           int dim2,
                                                           int dim3,
                                                           int dim4)
        Create a builder that will create a multi-dimensional array of columns/variables with the specified dimensions.
        Parameters:
        dim1 - Dimension 1.
        dim2 - Dimension 2.
        dim3 - Dimension 3.
        dim4 - Dimension 4.
        Returns:
        The new builder.
        Since:
        43.00
      • array5

        public static VariableBuilder.Array5Builder array5​(int dim1,
                                                           int dim2,
                                                           int dim3,
                                                           int dim4,
                                                           int dim5)
        Create a builder that will create a multi-dimensional array of columns/variables with the specified dimensions.
        Parameters:
        dim1 - Dimension 1.
        dim2 - Dimension 2.
        dim3 - Dimension 3.
        dim4 - Dimension 4.
        dim5 - Dimension 5.
        Returns:
        The new builder.
        Since:
        43.00
      • map

        public static <K1> VariableBuilder.MapBuilder<K1> map​(java.util.Collection<K1> coll1)
        Create a builder that will create a 1-dimensional map of columns or variables from the specified data.
        Type Parameters:
        K1 - Data type for dimension 1
        Parameters:
        coll1 - Data for the builder.
        Returns:
        The new builder.
        Since:
        43.00
      • map

        public static <K1> VariableBuilder.MapBuilder<K1> map​(K1[] arr1)
        Create a builder that will create a 1-dimensional map of columns or variables from the specified data.
        Type Parameters:
        K1 - Data type for dimension 1
        Parameters:
        arr1 - Data for the builder.
        Returns:
        The new builder.
        Since:
        43.00
      • map

        public static <K1> VariableBuilder.MapBuilder<K1> map​(java.util.stream.Stream<K1> strm)
        Create a builder that will create a 1-dimensional map of columns or variables from the stream.
        Type Parameters:
        K1 - Data type for dimension 1
        Parameters:
        strm - Data for creating columns or variables.
        Returns:
        The new builder.
        Since:
        43.00
      • map2

        public static <K1,​K2> VariableBuilder.Map2Builder<K1,​K2> map2​(java.util.Collection<K1> coll1,
                                                                                  java.util.Collection<K2> coll2)
        Create a builder that will create a 2-dimensional map of columns or variables from the specified data.
        Type Parameters:
        K1 - Data type for dimension 1
        K2 - Data type for dimension 2
        Parameters:
        coll1 - Data for the builder.
        coll2 - Data for the builder.
        Returns:
        The new builder.
        Since:
        43.00
      • map2

        public static <K1,​K2> VariableBuilder.Map2Builder<K1,​K2> map2​(K1[] arr1,
                                                                                  K2[] arr2)
        Create a builder that will create a 2-dimensional map of columns or variables from the specified data.
        Type Parameters:
        K1 - Data type for dimension 1
        K2 - Data type for dimension 2
        Parameters:
        arr1 - Data for the builder.
        arr2 - Data for the builder.
        Returns:
        The new builder.
        Since:
        43.00
      • map3

        public static <K1,​K2,​K3> VariableBuilder.Map3Builder<K1,​K2,​K3> map3​(java.util.Collection<K1> coll1,
                                                                                                    java.util.Collection<K2> coll2,
                                                                                                    java.util.Collection<K3> coll3)
        Create a builder that will create a 3-dimensional map of columns or variables from the specified data.
        Type Parameters:
        K1 - Data type for dimension 1
        K2 - Data type for dimension 2
        K3 - Data type for dimension 3
        Parameters:
        coll1 - Data for the builder.
        coll2 - Data for the builder.
        coll3 - Data for the builder.
        Returns:
        The new builder.
        Since:
        43.00
      • map3

        public static <K1,​K2,​K3> VariableBuilder.Map3Builder<K1,​K2,​K3> map3​(K1[] arr1,
                                                                                                    K2[] arr2,
                                                                                                    K3[] arr3)
        Create a builder that will create a 3-dimensional map of columns or variables from the specified data.
        Type Parameters:
        K1 - Data type for dimension 1
        K2 - Data type for dimension 2
        K3 - Data type for dimension 3
        Parameters:
        arr1 - Data for the builder.
        arr2 - Data for the builder.
        arr3 - Data for the builder.
        Returns:
        The new builder.
        Since:
        43.00
      • map4

        public static <K1,​K2,​K3,​K4> VariableBuilder.Map4Builder<K1,​K2,​K3,​K4> map4​(java.util.Collection<K1> coll1,
                                                                                                                      java.util.Collection<K2> coll2,
                                                                                                                      java.util.Collection<K3> coll3,
                                                                                                                      java.util.Collection<K4> coll4)
        Create a builder that will create a 4-dimensional map of columns or variables from the specified data.
        Type Parameters:
        K1 - Data type for dimension 1
        K2 - Data type for dimension 2
        K3 - Data type for dimension 3
        K4 - Data type for dimension 4
        Parameters:
        coll1 - Data for the builder.
        coll2 - Data for the builder.
        coll3 - Data for the builder.
        coll4 - Data for the builder.
        Returns:
        The new builder.
        Since:
        43.00
      • map4

        public static <K1,​K2,​K3,​K4> VariableBuilder.Map4Builder<K1,​K2,​K3,​K4> map4​(K1[] arr1,
                                                                                                                      K2[] arr2,
                                                                                                                      K3[] arr3,
                                                                                                                      K4[] arr4)
        Create a builder that will create a 4-dimensional map of columns or variables from the specified data.
        Type Parameters:
        K1 - Data type for dimension 1
        K2 - Data type for dimension 2
        K3 - Data type for dimension 3
        K4 - Data type for dimension 4
        Parameters:
        arr1 - Data for the builder.
        arr2 - Data for the builder.
        arr3 - Data for the builder.
        arr4 - Data for the builder.
        Returns:
        The new builder.
        Since:
        43.00
      • map5

        public static <K1,​K2,​K3,​K4,​K5> VariableBuilder.Map5Builder<K1,​K2,​K3,​K4,​K5> map5​(java.util.Collection<K1> coll1,
                                                                                                                                        java.util.Collection<K2> coll2,
                                                                                                                                        java.util.Collection<K3> coll3,
                                                                                                                                        java.util.Collection<K4> coll4,
                                                                                                                                        java.util.Collection<K5> coll5)
        Create a builder that will create a 5-dimensional map of columns or variables from the specified data.
        Type Parameters:
        K1 - Data type for dimension 1
        K2 - Data type for dimension 2
        K3 - Data type for dimension 3
        K4 - Data type for dimension 4
        K5 - Data type for dimension 5
        Parameters:
        coll1 - Data for the builder.
        coll2 - Data for the builder.
        coll3 - Data for the builder.
        coll4 - Data for the builder.
        coll5 - Data for the builder.
        Returns:
        The new builder.
        Since:
        43.00
      • map5

        public static <K1,​K2,​K3,​K4,​K5> VariableBuilder.Map5Builder<K1,​K2,​K3,​K4,​K5> map5​(K1[] arr1,
                                                                                                                                        K2[] arr2,
                                                                                                                                        K3[] arr3,
                                                                                                                                        K4[] arr4,
                                                                                                                                        K5[] arr5)
        Create a builder that will create a 5-dimensional map of columns or variables from the specified data.
        Type Parameters:
        K1 - Data type for dimension 1
        K2 - Data type for dimension 2
        K3 - Data type for dimension 3
        K4 - Data type for dimension 4
        K5 - Data type for dimension 5
        Parameters:
        arr1 - Data for the builder.
        arr2 - Data for the builder.
        arr3 - Data for the builder.
        arr4 - Data for the builder.
        arr5 - Data for the builder.
        Returns:
        The new builder.
        Since:
        43.00

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.