Simple implementation of Nock in Java.