Class CharacterSequence

    • Constructor Detail

      • CharacterSequence

        public CharacterSequence​(CharSequence chs)
    • Method Detail

      • size

        public int size()
        Description copied from interface: Sequence
        Returns the number of elements in the sequence.
        Specified by:
        size in interface Sequence
      • objectAt

        public int objectAt​(int i)
        Description copied from interface: Sequence
        Returns a unique integer code for object at index i (the first element has 0 index).
        Specified by:
        objectAt in interface Sequence