I started to do that, then decided that this is kind of a hot loop and the code would be faster without the method calls... But these methods are probably inlined by the JIT, aren't they?