port HashedWheel to java