Please solve the programming task below using a self-contained code snippet in a markdown code block.

Given an array nums and an integer target, return the maximum number of non-empty non-overlapping subarrays such that the sum of values in each subarray is equal to target.
 
Please complete the following python code precisely:
```python
class Solution:
    def maxNonOverlapping(self, nums: List[int], target: int) -> int:
```