Japanese C-2 I believe is better than A400 overall.
The C-17s can carry the heavier payloads like MBTs, SAM systems, heavy S2S missile systems, C&C structures close to areas of operations while the C-2 will carry other heavy payloads like IFBs, artilleries, trucks, small mobile radars, NASAMS...