Class Budget2022

java.lang.Object
Budget2022

public class Budget2022 extends Object
Provides high-precision statistical analysis of the 2022 Greek State Budget. This class calculates the percentage distribution of fixed historical expenses and incomes, representing each category as a ratio (0.0 to 1.0) relative to the annual totals (806.74B for expenses and 796.63B for incomes). All calculations use BigDecimal with 8-decimal precision and RoundingMode.HALF_UP for financial accuracy.
  • Constructor Details

    • Budget2022

      public Budget2022()
  • Method Details

    • staticsExp

      public static BigDecimal[] staticsExp()
      Calculates and returns the relative distribution of expense categories for the year 2022 based on the total public expenditure.

      Each value in the returned array represents the proportion of a specific expense category relative to the total expenses and is computed using BigDecimal division with rounding applied.

      Returns:
      a BigDecimal array containing the normalized expense values
    • staticsInc

      public static BigDecimal[] staticsInc()
      Calculates and returns the relative distribution of income categories for the year 2022 based on the total public revenue.

      Each element in the returned array represents the proportion of a specific income category relative to the total income and is calculated using BigDecimal division with rounding applied.

      Returns:
      a BigDecimal array containing the normalized income values