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

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

?? stringbuffer.java

?? linux下編程用 編譯軟件
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
   * Append the <code>CharSequence</code> value of the argument to this   * <code>StringBuffer</code>.   *   * @param sequence the <code>CharSequence</code> to append   * @return this <code>StringBuffer</code>   * @see #append(Object)   * @since 1.5   */  public synchronized StringBuffer append(CharSequence sequence)  {    if (sequence == null)      sequence = "null";    return append(sequence, 0, sequence.length());  }  /**   * Append the specified subsequence of the <code>CharSequence</code>   * argument to this <code>StringBuffer</code>.   *   * @param sequence the <code>CharSequence</code> to append   * @param start the starting index   * @param end one past the ending index   * @return this <code>StringBuffer</code>   * @see #append(Object)   * @since 1.5   */  public synchronized StringBuffer append(CharSequence sequence,					  int start, int end)  {    if (sequence == null)      sequence = "null";    if (start < 0 || end < 0 || start > end || end > sequence.length())      throw new IndexOutOfBoundsException();    ensureCapacity_unsynchronized(this.count + end - start);    for (int i = start; i < end; ++i)      value[count++] = sequence.charAt(i);    return this;  }  /**   * Append the <code>char</code> array to this <code>StringBuffer</code>.   * This is similar (but more efficient) than   * <code>append(new String(data))</code>, except in the case of null.   *   * @param data the <code>char[]</code> to append   * @return this <code>StringBuffer</code>   * @throws NullPointerException if <code>str</code> is <code>null</code>   * @see #append(char[], int, int)   */  public StringBuffer append(char[] data)  {    return append(data, 0, data.length);  }  /**   * Append part of the <code>char</code> array to this   * <code>StringBuffer</code>. This is similar (but more efficient) than   * <code>append(new String(data, offset, count))</code>, except in the case   * of null.   *   * @param data the <code>char[]</code> to append   * @param offset the start location in <code>str</code>   * @param count the number of characters to get from <code>str</code>   * @return this <code>StringBuffer</code>   * @throws NullPointerException if <code>str</code> is <code>null</code>   * @throws IndexOutOfBoundsException if offset or count is out of range   *         (while unspecified, this is a StringIndexOutOfBoundsException)   */  public synchronized StringBuffer append(char[] data, int offset, int count)  {    if (offset < 0 || count < 0 || offset > data.length - count)      throw new StringIndexOutOfBoundsException();    ensureCapacity_unsynchronized(this.count + count);    System.arraycopy(data, offset, value, this.count, count);    this.count += count;    return this;  }  /**   * Append the <code>String</code> value of the argument to this   * <code>StringBuffer</code>. Uses <code>String.valueOf()</code> to convert   * to <code>String</code>.   *   * @param bool the <code>boolean</code> to convert and append   * @return this <code>StringBuffer</code>   * @see String#valueOf(boolean)   */  public StringBuffer append(boolean bool)  {    return append(bool ? "true" : "false");  }  /**   * Append the <code>char</code> to this <code>StringBuffer</code>.   *   * @param ch the <code>char</code> to append   * @return this <code>StringBuffer</code>   */  public synchronized StringBuffer append(char ch)  {    ensureCapacity_unsynchronized(count + 1);    value[count++] = ch;    return this;  }  /**   * Append the code point to this <code>StringBuffer</code>.   * This is like #append(char), but will append two characters   * if a supplementary code point is given.   *   * @param code the code point to append   * @return this <code>StringBuffer</code>   * @see Character#toChars(int, char[], int)   * @since 1.5   */  public synchronized StringBuffer appendCodePoint(int code)  {    int len = Character.charCount(code);    ensureCapacity_unsynchronized(count + len);    Character.toChars(code, value, count);    count += len;    return this;  }  /**   * Append the <code>String</code> value of the argument to this   * <code>StringBuffer</code>. Uses <code>String.valueOf()</code> to convert   * to <code>String</code>.   *   * @param inum the <code>int</code> to convert and append   * @return this <code>StringBuffer</code>   * @see String#valueOf(int)   */  // GCJ LOCAL: this is native for efficiency.  public native StringBuffer append (int inum);  /**   * Append the <code>String</code> value of the argument to this   * <code>StringBuffer</code>. Uses <code>String.valueOf()</code> to convert   * to <code>String</code>.   *   * @param lnum the <code>long</code> to convert and append   * @return this <code>StringBuffer</code>   * @see String#valueOf(long)   */  public StringBuffer append(long lnum)  {    return append(Long.toString(lnum, 10));  }  /**   * Append the <code>String</code> value of the argument to this   * <code>StringBuffer</code>. Uses <code>String.valueOf()</code> to convert   * to <code>String</code>.   *   * @param fnum the <code>float</code> to convert and append   * @return this <code>StringBuffer</code>   * @see String#valueOf(float)   */  public StringBuffer append(float fnum)  {    return append(Float.toString(fnum));  }  /**   * Append the <code>String</code> value of the argument to this   * <code>StringBuffer</code>. Uses <code>String.valueOf()</code> to convert   * to <code>String</code>.   *   * @param dnum the <code>double</code> to convert and append   * @return this <code>StringBuffer</code>   * @see String#valueOf(double)   */  public StringBuffer append(double dnum)  {    return append(Double.toString(dnum));  }  /**   * Delete characters from this <code>StringBuffer</code>.   * <code>delete(10, 12)</code> will delete 10 and 11, but not 12. It is   * harmless for end to be larger than length().   *   * @param start the first character to delete   * @param end the index after the last character to delete   * @return this <code>StringBuffer</code>   * @throws StringIndexOutOfBoundsException if start or end are out of bounds   * @since 1.2   */  public synchronized StringBuffer delete(int start, int end)  {    if (start < 0 || start > count || start > end)      throw new StringIndexOutOfBoundsException(start);    if (end > count)      end = count;    // This will unshare if required.    ensureCapacity_unsynchronized(count);    if (count - end != 0)      System.arraycopy(value, end, value, start, count - end);    count -= end - start;    return this;  }  /**   * Delete a character from this <code>StringBuffer</code>.   *   * @param index the index of the character to delete   * @return this <code>StringBuffer</code>   * @throws StringIndexOutOfBoundsException if index is out of bounds   * @since 1.2   */  public StringBuffer deleteCharAt(int index)  {    return delete(index, index + 1);  }  /**   * Replace characters between index <code>start</code> (inclusive) and   * <code>end</code> (exclusive) with <code>str</code>. If <code>end</code>   * is larger than the size of this StringBuffer, all characters after   * <code>start</code> are replaced.   *   * @param start the beginning index of characters to delete (inclusive)   * @param end the ending index of characters to delete (exclusive)   * @param str the new <code>String</code> to insert   * @return this <code>StringBuffer</code>   * @throws StringIndexOutOfBoundsException if start or end are out of bounds   * @throws NullPointerException if str is null   * @since 1.2   */  public synchronized StringBuffer replace(int start, int end, String str)  {    if (start < 0 || start > count || start > end)      throw new StringIndexOutOfBoundsException(start);    int len = str.count;    // Calculate the difference in 'count' after the replace.    int delta = len - (end > count ? count : end) + start;    ensureCapacity_unsynchronized(count + delta);    if (delta != 0 && end < count)      System.arraycopy(value, end, value, end + delta, count - end);    str.getChars(0, len, value, start);    count += delta;    return this;  }  /**   * Creates a substring of this StringBuffer, starting at a specified index   * and ending at the end of this StringBuffer.   *   * @param beginIndex index to start substring (base 0)   * @return new String which is a substring of this StringBuffer   * @throws StringIndexOutOfBoundsException if beginIndex is out of bounds   * @see #substring(int, int)   * @since 1.2   */  public String substring(int beginIndex)  {    return substring(beginIndex, count);  }  /**   * Creates a substring of this StringBuffer, starting at a specified index   * and ending at one character before a specified index. This is implemented   * the same as <code>substring(beginIndex, endIndex)</code>, to satisfy   * the CharSequence interface.   *   * @param beginIndex index to start at (inclusive, base 0)   * @param endIndex index to end at (exclusive)   * @return new String which is a substring of this StringBuffer   * @throws IndexOutOfBoundsException if beginIndex or endIndex is out of   *         bounds   * @see #substring(int, int)   * @since 1.4   */  public CharSequence subSequence(int beginIndex, int endIndex)  {    return substring(beginIndex, endIndex);  }  /**   * Creates a substring of this StringBuffer, starting at a specified index   * and ending at one character before a specified index.   *   * @param beginIndex index to start at (inclusive, base 0)   * @param endIndex index to end at (exclusive)   * @return new String which is a substring of this StringBuffer   * @throws StringIndexOutOfBoundsException if beginIndex or endIndex is out   *         of bounds   * @since 1.2   */  public synchronized String substring(int beginIndex, int endIndex)  {    int len = endIndex - beginIndex;    if (beginIndex < 0 || endIndex > count || endIndex < beginIndex)      throw new StringIndexOutOfBoundsException();    if (len == 0)      return "";    // Don't copy unless substring is smaller than 1/4 of the buffer.    boolean share_buffer = ((len << 2) >= value.length);    if (share_buffer)      this.shared = true;    // Package constructor avoids an array copy.    return new String(value, beginIndex, len, share_buffer);  }  /**   * Insert a subarray of the <code>char[]</code> argument into this   * <code>StringBuffer</code>.   *   * @param offset the place to insert in this buffer   * @param str the <code>char[]</code> to insert   * @param str_offset the index in <code>str</code> to start inserting from   * @param len the number of characters to insert   * @return this <code>StringBuffer</code>   * @throws NullPointerException if <code>str</code> is <code>null</code>   * @throws StringIndexOutOfBoundsException if any index is out of bounds   * @since 1.2   */  public synchronized StringBuffer insert(int offset,                                          char[] str, int str_offset, int len)  {    if (offset < 0 || offset > count || len < 0        || str_offset < 0 || str_offset > str.length - len)      throw new StringIndexOutOfBoundsException();    ensureCapacity_unsynchronized(count + len);    System.arraycopy(value, offset, value, offset + len, count - offset);    System.arraycopy(str, str_offset, value, offset, len);    count += len;    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 obj the <code>Object</code> to convert and insert   * @return this <code>StringBuffer</code>   * @exception StringIndexOutOfBoundsException if offset is out of bounds   * @see String#valueOf(Object)   */  public StringBuffer insert(int offset, Object obj)  {    return insert(offset, obj == null ? "null" : obj.toString());  }  /**   * Insert the <code>String</code> argument into this   * <code>StringBuffer</code>. If str is null, the String "null" is used   * instead.   *   * @param offset the place to insert in this buffer   * @param str the <code>String</code> to insert   * @return this <code>StringBuffer</code>   * @throws StringIndexOutOfBoundsException if offset is out of bounds   */  public synchronized StringBuffer insert(int offset, String str)  {    if (offset < 0 || offset > count)      throw new StringIndexOutOfBoundsException(offset);    if (str == null)      str = "null";    int len = str.count;    ensureCapacity_unsynchronized(count + len);    System.arraycopy(value, offset, value, offset + len, count - offset);    str.getChars(0, len, value, offset);    count += len;    return this;  }  /**   * Insert 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   * @return this <code>StringBuffer</code>   * @throws IndexOutOfBoundsException if offset is out of bounds   * @since 1.5   */  public synchronized StringBuffer insert(int offset, CharSequence sequence)  {    if (sequence == null)      sequence = "null";    return insert(offset, sequence, 0, sequence.length());  }  /**

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美唯美清纯偷拍| 亚洲人成伊人成综合网小说| 国产精品麻豆网站| 青青国产91久久久久久| 色综合久久88色综合天天6 | 国产视频在线观看一区二区三区| 亚洲综合在线电影| 成人黄色网址在线观看| 日韩午夜精品电影| 亚洲成年人影院| 97se亚洲国产综合在线| 久久一二三国产| 美日韩一区二区| 538在线一区二区精品国产| 国产精品成人在线观看| 国产毛片精品视频| 日韩一区二区三区高清免费看看| 亚洲一级电影视频| 在线免费亚洲电影| 亚洲品质自拍视频网站| aaa国产一区| 国产女人水真多18毛片18精品视频| 午夜精品免费在线观看| 日本高清视频一区二区| 亚洲免费观看高清| 91色.com| 亚洲视频 欧洲视频| 99视频一区二区| 亚洲人一二三区| 91在线视频官网| 亚洲人成小说网站色在线| 91在线观看一区二区| 最近日韩中文字幕| av不卡在线播放| 亚洲欧美国产高清| 欧美日韩国产精选| 免费欧美在线视频| 久久先锋资源网| 国产一区 二区| 国产精品理伦片| 91片在线免费观看| 一区二区三区高清在线| 欧美日韩中文一区| 日韩电影网1区2区| 2020国产精品自拍| 风间由美一区二区三区在线观看 | 91精品国产乱码久久蜜臀| 日韩av电影天堂| 久久综合久久久久88| 成人免费高清在线| 一区二区三区资源| 欧美久久久久久蜜桃| 狠狠久久亚洲欧美| 亚洲欧洲三级电影| 欧美老年两性高潮| 国产一区二区美女诱惑| 亚洲欧美一区二区在线观看| 欧美综合一区二区三区| 老鸭窝一区二区久久精品| 国产女人水真多18毛片18精品视频 | 日韩精品一区二区在线| 国产+成+人+亚洲欧洲自线| 亚洲视频免费在线| 日韩一区二区高清| www.日韩在线| 美女高潮久久久| 亚洲色图一区二区| 日韩欧美久久久| 97国产精品videossex| 男男gaygay亚洲| 国产精品看片你懂得| 欧美一区二区三区在线视频| 成人av在线资源网站| 日本aⅴ免费视频一区二区三区| 国产亚洲一区二区三区在线观看 | 亚洲va韩国va欧美va| 久久久精品影视| 在线不卡的av| 91在线免费播放| 激情综合网激情| 午夜精品福利在线| 亚洲欧美日韩电影| 国产日韩精品一区二区浪潮av| 欧美男女性生活在线直播观看| 成人黄色av电影| 久久成人免费网| 亚洲国产美女搞黄色| 国产精品久久久一区麻豆最新章节| 日韩欧美一区二区久久婷婷| 色哟哟国产精品免费观看| 国产精品亚洲视频| 久久成人久久爱| 午夜av电影一区| 一区二区三区视频在线看| 亚洲国产激情av| 精品国产三级a在线观看| 欧美精选一区二区| 在线一区二区视频| 91视频精品在这里| 成人动漫av在线| 国产大陆精品国产| 国产一区高清在线| 久久疯狂做爰流白浆xx| 亚洲mv大片欧洲mv大片精品| 亚洲精品国产无天堂网2021| 中文字幕一区在线观看视频| 国产婷婷色一区二区三区四区| 欧美成人女星排名| 精品国产人成亚洲区| 日韩精品一区二区三区视频播放| 91麻豆精品国产自产在线观看一区| 在线这里只有精品| 欧美无砖专区一中文字| 欧美系列在线观看| 欧美性生活大片视频| 欧洲亚洲精品在线| 欧美日韩精品久久久| 在线综合+亚洲+欧美中文字幕| 欧美日本国产视频| 欧美一区二区黄色| 精品国产乱码久久| 国产亚洲污的网站| 中文字幕 久热精品 视频在线| 国产精品久线观看视频| 亚洲三级在线观看| 亚洲一区二区在线免费看| 亚洲福利视频导航| 亚洲国产一区二区a毛片| 午夜精品一区二区三区电影天堂 | 成人高清免费观看| 色老汉av一区二区三区| 欧美色图片你懂的| 欧美日韩视频在线观看一区二区三区 | 免费在线看一区| 国产麻豆9l精品三级站| 不卡一区二区中文字幕| 色琪琪一区二区三区亚洲区| 在线成人免费视频| 久久久亚洲精品石原莉奈| 国产精品入口麻豆原神| 一级女性全黄久久生活片免费| 日本欧美韩国一区三区| 国产99精品视频| 色悠悠久久综合| 91精品午夜视频| 欧美国产乱子伦| 亚洲综合精品自拍| 国内成+人亚洲+欧美+综合在线| 波多野结衣在线一区| 欧美精品1区2区| 国产片一区二区| 夜夜嗨av一区二区三区| 国产一区啦啦啦在线观看| 色视频成人在线观看免| 精品国产网站在线观看| 樱花影视一区二区| 国产一区在线观看麻豆| 欧美影院一区二区| 国产亚洲人成网站| 亚洲va欧美va人人爽午夜| 国产成人免费视频| 在线成人av网站| 综合精品久久久| 国产一区二区三区免费在线观看| 91蜜桃婷婷狠狠久久综合9色| 日韩亚洲欧美在线| 亚洲精品中文字幕乱码三区| 国产一区二区美女诱惑| 欧美精品日韩综合在线| 国产精品久久久久精k8| 精品一区二区国语对白| 欧美日韩亚洲综合一区二区三区 | 久久久国产精品麻豆| 亚洲1区2区3区视频| 成人h精品动漫一区二区三区| 日韩欧美123| 亚洲国产精品久久人人爱| www.日韩av| 中文字幕欧美国产| 国产米奇在线777精品观看| 7777精品伊人久久久大香线蕉完整版 | 日韩高清一区在线| 色老汉一区二区三区| 国产精品国产三级国产aⅴ中文 | 国产精品国产三级国产有无不卡 | 欧美国产综合色视频| 精品一区二区三区在线观看| 欧美性猛片xxxx免费看久爱| 亚洲欧洲成人精品av97| 国产 日韩 欧美大片| 久久久.com| 国产成人免费高清| 久久久国产一区二区三区四区小说 | 久草这里只有精品视频| 91精品国产色综合久久不卡电影 | 亚洲午夜电影在线| 欧美日韩中文精品| 婷婷国产在线综合| 欧美一区二区三区人| 免费人成黄页网站在线一区二区|