Added convertToSequenceIndex java binding procedure.