Enum StandardContextType

    • Enum Constant Detail

      • SUM_COUNT

        public static final StandardContextType SUM_COUNT
        The context thats stores sum, count and number count.
      • MIN_MAX

        public static final StandardContextType MIN_MAX
        The context that stores minimum and maximum values.
      • PRODUCT

        public static final StandardContextType PRODUCT
        The context that stores arithmetic product.
      • VARIANCE

        public static final StandardContextType VARIANCE
        The context that stores sum, sum of square and number count.
    • Method Detail

      • values

        public static StandardContextType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StandardContextType c : StandardContextType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StandardContextType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • create

        public static Context<?> create​(int ordinal)
        Create the context by the enum ordinal.