JavaScript is disabled on your browser.
Skip navigation links
gnu.jemacs.swt

Class SwtCharBuffer

    • Field Detail

    • Constructor Detail

      • SwtCharBuffer

        public SwtCharBuffer(int initialSize)
    • Method Detail

      • subSequence

        public java.lang.CharSequence subSequence(int start,
         int end)
      • pos2offset

        public int pos2offset(int pos)
      • offset2pos

        public int offset2pos(int offset)
      • shiftGap

        protected void shiftGap(int newGapStart)
      • length

        public int length()
        Description copied from interface: CharSeq
        Get length of string, in code units (not characters). In contract, size() returns the number of 16-bit code points.
        Specified by:
        length in interface CharSeq
        Specified by:
        length in interface java.lang.CharSequence
        Overrides:
        length in class AbstractCharVector<Char>
        See Also:
        CharSequence.length()
      • charAt

        public char charAt(int index)
        Description copied from interface: CharSeq
        The index is in terms of code units.
        Specified by:
        charAt in interface CharSeq
        Specified by:
        charAt in interface java.lang.CharSequence
        Overrides:
        charAt in class AbstractCharVector<Char>
        See Also:
        CharSequence.charAt(int)
      • insert

        public void insert(int where,
         java.lang.String str)
        Parameters:
        where -
        str -
      • getChars

        public void getChars(int start,
         int end,
         char[] dest,
         int destStart)
        Description copied from class: AbstractCharVector
        Copy characters into a destination buffer. Same interface as java.lang.String's getChars.
        Specified by:
        getChars in interface CharSeq
        Overrides:
        getChars in class AbstractCharVector<Char>
        Parameters:
        start - source start position, in 16-bit code units.
        end - source end position, in 16-bit code units.
        dest - destination
        destStart - index (in code units) in dst array
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface CharSeq
        Specified by:
        toString in interface java.lang.CharSequence
        Overrides:
        toString in class FString
      • show

        protected void show()
      • printable

        protected static java.lang.String printable(java.lang.String s)
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /