Class Budget2024
java.lang.Object
Budget2024
Provides high-precision statistical analysis of the 2024 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 (1.108T for expenses and 1.107T 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[]Computes the relative distribution of public expenditure categories for the year 2024 based on the total state budget expenditures.static BigDecimal[]Computes the relative distribution of public revenue categories for the year 2024 based on the total state budget income.
-
Constructor Details
-
Budget2024
public Budget2024()
-
-
Method Details
-
staticsExp
Computes the relative distribution of public expenditure categories for the year 2024 based on the total state budget expenditures.Each value in the returned array represents the ratio of a specific expenditure category to the total expenditures for 2024. Calculations are performed using
BigDecimalwith a scale of 8 decimal places andRoundingMode.HALF_UPto ensure precision and consistency.- Returns:
- a
BigDecimalarray containing the normalized expenditure values for all expense categories in 2024
-
staticsInc
Computes the relative distribution of public revenue categories for the year 2024 based on the total state budget income.Each element in the returned array represents the proportion of a specific income category relative to the total revenues for 2024. Calculations are performed using
BigDecimalwith a scale of 8 decimal places andRoundingMode.HALF_UProunding to maintain precision.- Returns:
- a
BigDecimalarray containing the normalized income values for all income categories in 2024
-