Method CPU.singleStep() in Java

I request a method CPU.singleStep() in Java version of emulator.
It is useful when your code is used as a library from other project.
The body of this method have been pulled from the method CPU.run()
without changes.