Class Budget2022
java.lang.Object
Budget2022
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BigDecimal[]Calculates and returns the relative distribution of expense categories for the year 2022 based on the total public expenditure.static BigDecimal[]Calculates and returns the relative distribution of income categories for the year 2022 based on the total public revenue.
-
Constructor Details
-
Budget2022
public Budget2022()
-
-
Method Details
-
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
BigDecimaldivision with rounding applied.- Returns:
- a
BigDecimalarray containing the normalized expense values
-
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
BigDecimaldivision with rounding applied.- Returns:
- a
BigDecimalarray containing the normalized income values
-