亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? stringbuffer.java

?? gcc的組建
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
   * Insert a subsequence of the <code>CharSequence</code> argument into this   * <code>StringBuffer</code>.  If the sequence is null, the String   * "null" is used instead.   *   * @param offset the place to insert in this buffer   * @param sequence the <code>CharSequence</code> to insert   * @param start the starting index of the subsequence   * @param end one past the ending index of the subsequence   * @return this <code>StringBuffer</code>   * @throws IndexOutOfBoundsException if offset, start,   * or end are out of bounds   * @since 1.5   */  public synchronized StringBuffer insert(int offset, CharSequence sequence,					  int start, int end)  {    if (sequence == null)      sequence = "null";    if (start < 0 || end < 0 || start > end || end > sequence.length())      throw new IndexOutOfBoundsException();    int len = end - start;    ensureCapacity_unsynchronized(count + len);    System.arraycopy(value, offset, value, offset + len, count - offset);    for (int i = start; i < end; ++i)      value[offset++] = sequence.charAt(i);    count += len;    return this;  }  /**   * Insert the <code>char[]</code> argument into this   * <code>StringBuffer</code>.   *   * @param offset the place to insert in this buffer   * @param data the <code>char[]</code> to insert   * @return this <code>StringBuffer</code>   * @throws NullPointerException if <code>data</code> is <code>null</code>   * @throws StringIndexOutOfBoundsException if offset is out of bounds   * @see #insert(int, char[], int, int)   */  public StringBuffer insert(int offset, char[] data)  {    return insert(offset, data, 0, data.length);  }  /**   * Insert the <code>String</code> value of the argument into this   * <code>StringBuffer</code>. Uses <code>String.valueOf()</code> to convert   * to <code>String</code>.   *   * @param offset the place to insert in this buffer   * @param bool the <code>boolean</code> to convert and insert   * @return this <code>StringBuffer</code>   * @throws StringIndexOutOfBoundsException if offset is out of bounds   * @see String#valueOf(boolean)   */  public StringBuffer insert(int offset, boolean bool)  {    return insert(offset, bool ? "true" : "false");  }  /**   * Insert the <code>char</code> argument into this <code>StringBuffer</code>.   *   * @param offset the place to insert in this buffer   * @param ch the <code>char</code> to insert   * @return this <code>StringBuffer</code>   * @throws StringIndexOutOfBoundsException if offset is out of bounds   */  public synchronized StringBuffer insert(int offset, char ch)  {    if (offset < 0 || offset > count)      throw new StringIndexOutOfBoundsException(offset);    ensureCapacity_unsynchronized(count + 1);    System.arraycopy(value, offset, value, offset + 1, count - offset);    value[offset] = ch;    count++;    return this;  }  /**   * Insert the <code>String</code> value of the argument into this   * <code>StringBuffer</code>. Uses <code>String.valueOf()</code> to convert   * to <code>String</code>.   *   * @param offset the place to insert in this buffer   * @param inum the <code>int</code> to convert and insert   * @return this <code>StringBuffer</code>   * @throws StringIndexOutOfBoundsException if offset is out of bounds   * @see String#valueOf(int)   */  public StringBuffer insert(int offset, int inum)  {    return insert(offset, String.valueOf(inum));  }  /**   * Insert the <code>String</code> value of the argument into this   * <code>StringBuffer</code>. Uses <code>String.valueOf()</code> to convert   * to <code>String</code>.   *   * @param offset the place to insert in this buffer   * @param lnum the <code>long</code> to convert and insert   * @return this <code>StringBuffer</code>   * @throws StringIndexOutOfBoundsException if offset is out of bounds   * @see String#valueOf(long)   */  public StringBuffer insert(int offset, long lnum)  {    return insert(offset, Long.toString(lnum, 10));  }  /**   * Insert the <code>String</code> value of the argument into this   * <code>StringBuffer</code>. Uses <code>String.valueOf()</code> to convert   * to <code>String</code>.   *   * @param offset the place to insert in this buffer   * @param fnum the <code>float</code> to convert and insert   * @return this <code>StringBuffer</code>   * @throws StringIndexOutOfBoundsException if offset is out of bounds   * @see String#valueOf(float)   */  public StringBuffer insert(int offset, float fnum)  {    return insert(offset, Float.toString(fnum));  }  /**   * Insert the <code>String</code> value of the argument into this   * <code>StringBuffer</code>. Uses <code>String.valueOf()</code> to convert   * to <code>String</code>.   *   * @param offset the place to insert in this buffer   * @param dnum the <code>double</code> to convert and insert   * @return this <code>StringBuffer</code>   * @throws StringIndexOutOfBoundsException if offset is out of bounds   * @see String#valueOf(double)   */  public StringBuffer insert(int offset, double dnum)  {    return insert(offset, Double.toString(dnum));  }  /**   * Finds the first instance of a substring in this StringBuffer.   *   * @param str String to find   * @return location (base 0) of the String, or -1 if not found   * @throws NullPointerException if str is null   * @see #indexOf(String, int)   * @since 1.4   */  public int indexOf(String str)  {    return indexOf(str, 0);  }  /**   * Finds the first instance of a String in this StringBuffer, starting at   * a given index.  If starting index is less than 0, the search starts at   * the beginning of this String.  If the starting index is greater than the   * length of this String, or the substring is not found, -1 is returned.   *   * @param str String to find   * @param fromIndex index to start the search   * @return location (base 0) of the String, or -1 if not found   * @throws NullPointerException if str is null   * @since 1.4   */  public synchronized int indexOf(String str, int fromIndex)  {    if (fromIndex < 0)      fromIndex = 0;    int limit = count - str.count;    for ( ; fromIndex <= limit; fromIndex++)      if (regionMatches(fromIndex, str))        return fromIndex;    return -1;  }  /**   * Finds the last instance of a substring in this StringBuffer.   *   * @param str String to find   * @return location (base 0) of the String, or -1 if not found   * @throws NullPointerException if str is null   * @see #lastIndexOf(String, int)   * @since 1.4   */  public int lastIndexOf(String str)  {    return lastIndexOf(str, count - str.count);  }  /**   * Finds the last instance of a String in this StringBuffer, starting at a   * given index.  If starting index is greater than the maximum valid index,   * then the search begins at the end of this String.  If the starting index   * is less than zero, or the substring is not found, -1 is returned.   *   * @param str String to find   * @param fromIndex index to start the search   * @return location (base 0) of the String, or -1 if not found   * @throws NullPointerException if str is null   * @since 1.4   */  public synchronized int lastIndexOf(String str, int fromIndex)  {    fromIndex = Math.min(fromIndex, count - str.count);    for ( ; fromIndex >= 0; fromIndex--)      if (regionMatches(fromIndex, str))        return fromIndex;    return -1;  }  /**   * Reverse the characters in this StringBuffer. The same sequence of   * characters exists, but in the reverse index ordering.   *   * @return this <code>StringBuffer</code>   */  public synchronized StringBuffer reverse()  {    // Call ensureCapacity to enforce copy-on-write.    ensureCapacity_unsynchronized(count);    for (int i = count >> 1, j = count - i; --i >= 0; ++j)      {        char c = value[i];        value[i] = value[j];        value[j] = c;      }    return this;  }  /**   * Convert this <code>StringBuffer</code> to a <code>String</code>. The   * String is composed of the characters currently in this StringBuffer. Note   * that the result is a copy, and that future modifications to this buffer   * do not affect the String.   *   * @return the characters in this StringBuffer   */  public String toString()  {    // The string will set this.shared = true.    return new String(this);  }  /**   * This may reduce the amount of memory used by the StringBuffer,   * by resizing the internal array to remove unused space.  However,   * this method is not required to resize, so this behavior cannot   * be relied upon.   * @since 1.5   */  public synchronized void trimToSize()  {    int wouldSave = value.length - count;    // Some random heuristics: if we save less than 20 characters, who    // cares.    if (wouldSave < 20)      return;    // If we save more than 200 characters, shrink.    // If we save more than 1/4 of the buffer, shrink.    if (wouldSave > 200 || wouldSave * 4 > value.length)      {	char[] newValue = new char[count];	System.arraycopy(value, 0, newValue, 0, count);	value = newValue;      }  }  /**   * Return the number of code points between two indices in the   * <code>StringBuffer</code>.  An unpaired surrogate counts as a   * code point for this purpose.  Characters outside the indicated   * range are not examined, even if the range ends in the middle of a   * surrogate pair.   *   * @param start the starting index   * @param end one past the ending index   * @return the number of code points   * @since 1.5   */  public synchronized int codePointCount(int start, int end)  {    if (start < 0 || end >= count || start > end)      throw new StringIndexOutOfBoundsException();    int count = 0;    while (start < end)      {	char base = value[start];	if (base < Character.MIN_HIGH_SURROGATE	    || base > Character.MAX_HIGH_SURROGATE	    || start == end	    || start == count	    || value[start + 1] < Character.MIN_LOW_SURROGATE	    || value[start + 1] > Character.MAX_LOW_SURROGATE)	  {	    // Nothing.	  }	else	  {	    // Surrogate pair.	    ++start;	  }	++start;	++count;      }    return count;  }  /**   * Starting at the given index, this counts forward by the indicated   * number of code points, and then returns the resulting index.  An   * unpaired surrogate counts as a single code point for this   * purpose.   *   * @param start the starting index   * @param codePoints the number of code points   * @return the resulting index   * @since 1.5   */  public synchronized int offsetByCodePoints(int start, int codePoints)  {    while (codePoints > 0)      {	char base = value[start];	if (base < Character.MIN_HIGH_SURROGATE	    || base > Character.MAX_HIGH_SURROGATE	    || start == count	    || value[start + 1] < Character.MIN_LOW_SURROGATE	    || value[start + 1] > Character.MAX_LOW_SURROGATE)	  {	    // Nothing.	  }	else	  {	    // Surrogate pair.	    ++start;	  }	++start;	--codePoints;      }    return start;  }  /**   * An unsynchronized version of ensureCapacity, used internally to avoid   * the cost of a second lock on the same object. This also has the side   * effect of duplicating the array, if it was shared (to form copy-on-write   * semantics).   *   * @param minimumCapacity the minimum capacity   * @see #ensureCapacity(int)   */  private void ensureCapacity_unsynchronized(int minimumCapacity)  {    if (shared || minimumCapacity > value.length)      {        // We don't want to make a larger vector when `shared' is        // set.  If we do, then setLength becomes very inefficient        // when repeatedly reusing a StringBuffer in a loop.        int max = (minimumCapacity > value.length                   ? value.length * 2 + 2                   : value.length);        minimumCapacity = (minimumCapacity < max ? max : minimumCapacity);        char[] nb = new char[minimumCapacity];        System.arraycopy(value, 0, nb, 0, count);        value = nb;        shared = false;      }  }  /**   * Predicate which determines if a substring of this matches another String   * starting at a specified offset for each String and continuing for a   * specified length. This is more efficient than creating a String to call   * indexOf on.   *   * @param toffset index to start comparison at for this String   * @param other non-null String to compare to region of this   * @return true if regions match, false otherwise   * @see #indexOf(String, int)   * @see #lastIndexOf(String, int)   * @see String#regionMatches(boolean, int, String, int, int)   */  // GCJ LOCAL: native for gcj.  private native boolean regionMatches(int toffset, String other);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
狠狠色狠狠色合久久伊人| 日韩一区二区三区视频在线观看| 精品视频一区二区不卡| 久久综合色8888| 男人操女人的视频在线观看欧美| 99国产精品久久久久久久久久| 日韩欧美色综合网站| 亚洲国产精品久久一线不卡| 成人激情av网| 中文字幕 久热精品 视频在线| 久久成人麻豆午夜电影| 欧美日韩午夜影院| 视频一区视频二区在线观看| 色偷偷88欧美精品久久久| 亚洲日本在线天堂| 色婷婷国产精品| 亚洲在线视频网站| 欧美日韩精品免费观看视频| 亚洲二区在线观看| 777奇米成人网| 国产精品一二二区| 欧美成人一区二区三区片免费 | 日韩欧美不卡一区| 日韩av电影天堂| xfplay精品久久| 国产成人免费视| 亚洲人成人一区二区在线观看 | 一本久久a久久精品亚洲| 一区二区三区在线免费视频| 欧美伦理影视网| 国产精品自拍av| 亚洲欧美另类久久久精品2019| 欧美午夜免费电影| 国产美女久久久久| 亚洲一区在线看| 国产无一区二区| 欧美午夜不卡在线观看免费| 日产国产欧美视频一区精品| 久久综合色鬼综合色| 欧美日韩一区二区三区在线 | 国产日产欧美一区| 1024成人网| 日韩一区二区在线观看视频 | 日本一区二区三区视频视频| 色爱区综合激月婷婷| 久久成人免费日本黄色| 亚洲自拍偷拍麻豆| 国产精品色婷婷| 精品福利av导航| 欧美一卡2卡三卡4卡5免费| 91在线视频免费91| 成人午夜在线视频| 精品无码三级在线观看视频| 午夜伊人狠狠久久| 亚洲图片一区二区| 成人欧美一区二区三区1314| 26uuu亚洲综合色欧美| 欧美日韩成人一区二区| 91蜜桃网址入口| www.亚洲精品| 91天堂素人约啪| 99视频一区二区三区| 成人av免费在线观看| 成人免费黄色在线| 99re66热这里只有精品3直播| eeuss影院一区二区三区| 岛国一区二区在线观看| 国产精品一区二区不卡| 国产精品乡下勾搭老头1| 国产.欧美.日韩| 99久精品国产| 欧美另类一区二区三区| 日韩欧美美女一区二区三区| 久久久久久久久久久久电影| 久久精品欧美一区二区三区不卡 | 亚洲人成精品久久久久| 亚洲精品成人少妇| 日韩专区一卡二卡| 国产精品自拍三区| 色综合久久88色综合天天| 欧美色倩网站大全免费| 亚洲女同ⅹxx女同tv| 免费人成在线不卡| 国产成人免费在线观看| 在线视频一区二区三区| 欧美成人综合网站| 亚洲视频香蕉人妖| 美国一区二区三区在线播放| 国产老妇另类xxxxx| 欧美午夜精品理论片a级按摩| 精品国产电影一区二区| 日韩美女视频一区二区| 麻豆精品一区二区三区| 国产成人午夜99999| 欧美久久久影院| 1024成人网| 激情av综合网| 欧美日韩一区二区三区视频| 国产日本欧美一区二区| 日韩成人午夜电影| 在线观看日韩一区| 国产精品麻豆网站| 国产精品系列在线播放| 3751色影院一区二区三区| 国产精品大尺度| 成人午夜电影网站| 国产色综合一区| 九九九精品视频| 欧美一区二区大片| 午夜国产精品一区| 色综合久久综合中文综合网| 精品成a人在线观看| 蜜桃视频第一区免费观看| 欧美日韩在线播放一区| 亚洲国产色一区| 欧美中文一区二区三区| 一区二区日韩av| 欧美日韩一区成人| 五月激情丁香一区二区三区| 欧美日韩在线一区二区| 麻豆精品一区二区三区| 夜夜揉揉日日人人青青一国产精品| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 午夜精品久久久| 日本伦理一区二区| 亚洲视频在线观看一区| 欧美性受xxxx黑人xyx| 日韩中文字幕亚洲一区二区va在线| 在线观看免费成人| 午夜激情综合网| 国产午夜亚洲精品不卡| 99视频有精品| 午夜精品成人在线视频| 久久先锋资源网| 99久久99久久久精品齐齐| 亚洲四区在线观看| 91国偷自产一区二区使用方法| 亚洲一级二级三级在线免费观看| 欧美日韩一级片网站| 国产乱色国产精品免费视频| 在线不卡中文字幕| 成人国产精品视频| 日本伊人精品一区二区三区观看方式| 国产亚洲精品7777| 精品视频在线看| 粉嫩aⅴ一区二区三区四区五区| 亚洲摸摸操操av| 精品成人一区二区三区四区| 91在线观看免费视频| 久久精品国产亚洲高清剧情介绍 | 亚洲国产一二三| 欧美激情在线观看视频免费| 欧美日韩综合在线免费观看| 丰满少妇久久久久久久| 日本成人在线看| 亚洲成av人片| 亚洲福中文字幕伊人影院| 久久久不卡网国产精品二区| 91精品国产一区二区三区香蕉| 波多野结衣亚洲| 成人小视频免费在线观看| 精品一区精品二区高清| 天堂在线一区二区| 性做久久久久久免费观看欧美| 日韩毛片视频在线看| 久久综合狠狠综合久久综合88| 欧美日韩精品欧美日韩精品一综合| 波多野结衣中文字幕一区二区三区 | 欧美亚洲综合在线| 欧美综合欧美视频| 欧美日韩国产系列| 欧美另类一区二区三区| 制服丝袜中文字幕一区| 欧美丰满少妇xxxxx高潮对白| 91丨九色porny丨蝌蚪| 国产成人亚洲综合a∨婷婷 | 欧美男生操女生| 欧美一级国产精品| 欧美精品一区二区三区四区| 亚洲精品一区二区三区四区高清| 久久久久久久久久久电影| 国产精品伦理在线| 亚洲综合激情另类小说区| 日本视频免费一区| 国产成人aaaa| 欧美在线一二三| 久久综合九色综合欧美98| 亚洲视频免费观看| 日本美女一区二区三区视频| 国产成人8x视频一区二区| 在线精品国精品国产尤物884a| 欧美一区二区在线免费播放| 精品国产91久久久久久久妲己| 国产午夜精品福利| 麻豆精品久久精品色综合| 色综合中文字幕| 久久一二三国产| 午夜精品一区在线观看| 成人国产视频在线观看| 日韩欧美中文一区|