org.aminds.util
クラス CharArray
java.lang.Object
org.aminds.util.CharArray
- すべての実装されたインタフェース:
- Appendable, CharSequence, Readable
public class CharArray
- extends Object
- implements CharSequence, Appendable, Readable
- 作成者:
- Masashi Nakanishi
|
フィールドの概要 |
protected int |
count
|
protected char[] |
value
|
value
protected char[] value
count
protected int count
CharArray
public CharArray()
CharArray
public CharArray(int initCapacity)
throws IllegalArgumentException
- 例外:
IllegalArgumentException
CharArray
public CharArray(char[] cbuf,
int off,
int len)
throws NullPointerException,
IndexOutOfBoundsException
- 例外:
NullPointerException
IndexOutOfBoundsException
CharArray
public CharArray(char[] cbuf,
boolean wrap)
throws NullPointerException
- 例外:
NullPointerException
CharArray
public CharArray(char[] cbuf,
int len,
boolean wrap)
throws NullPointerException,
IndexOutOfBoundsException
- 例外:
NullPointerException
IndexOutOfBoundsException
capacity
public int capacity()
ensureCapacity
public void ensureCapacity(int minimumCapacity)
getValue
public char[] getValue()
- Get the raw array
- 戻り値:
- internal array of chars
getChars
public void getChars(int srcBegin,
int srcEnd,
char[] dst,
int dstBegin)
setLength
public void setLength(int newLength)
charAt
public char charAt(int index)
- 定義:
- インタフェース
CharSequence 内の charAt
length
public int length()
- 定義:
- インタフェース
CharSequence 内の length
subSequence
public CharSequence subSequence(int start,
int end)
- 定義:
- インタフェース
CharSequence 内の subSequence
toString
public String toString()
- 定義:
- インタフェース
CharSequence 内の toString - オーバーライド:
- クラス
Object 内の toString
append
public Appendable append(char c)
throws IOException
- 定義:
- インタフェース
Appendable 内の append
- 例外:
IOException
append
public Appendable append(CharSequence csq)
throws IOException
- 定義:
- インタフェース
Appendable 内の append
- 例外:
IOException
append
public Appendable append(CharSequence csq,
int start,
int end)
throws IOException
- 定義:
- インタフェース
Appendable 内の append
- 例外:
IOException
append
public Appendable append(String str)
throws IOException
- 例外:
IOException
append
public Appendable append(StringBuilder sb)
throws IOException
- 例外:
IOException
append
public Appendable append(StringBuffer sb)
throws IOException
- 例外:
IOException
read
public int read(CharBuffer cb)
throws IOException
- 定義:
- インタフェース
Readable 内の read
- 例外:
IOException
Copyright (c) 2008-2011 Masashi Nakanishi.