Using Java-based Sequence.