| | |
| | | //记录当前分配到第几个值 |
| | | private static final Map<String, Integer> currentAllocationIndex = new ConcurrentHashMap<>(); |
| | | |
| | | //记录前一个值的波动方向 |
| | | private static final Map<String, List<Boolean>> upDownTrend = new ConcurrentHashMap<>(); |
| | | |
| | | public static Map<String, Integer> getFrequency() { |
| | | return frequency; |
| | | } |
| | | |
| | | public static Map<String, List<BigDecimal>> getPreAllocationList() { |
| | | public static Map<String, List<BigDecimal>> getPreAllocatedAdjustments() { |
| | | return preAllocationList; |
| | | } |
| | | |
| | | |
| | | public static Map<String, Integer> getCurrentAllocationIndex() { |
| | | public static Map<String, Integer> getCurrentAdjustmentIndex() { |
| | | return currentAllocationIndex; |
| | | } |
| | | |
| | | public static Map<String, List<Boolean>> getUpDownTrend() { |
| | | return upDownTrend; |
| | | } |
| | | |
| | | |
| | | |