Class OpenStringBuilder
A StringBuilder that allows one to access the array.
Inheritance
System.Object
OpenStringBuilder
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class OpenStringBuilder : object, ICharSequence
Constructors
|
Improve this Doc
View Source
OpenStringBuilder()
Declaration
public OpenStringBuilder()
|
Improve this Doc
View Source
OpenStringBuilder(Char[], Int32)
Declaration
public OpenStringBuilder(char[] arr, int len)
Parameters
Type |
Name |
Description |
System.Char[] |
arr |
|
System.Int32 |
len |
|
|
Improve this Doc
View Source
OpenStringBuilder(Int32)
Declaration
public OpenStringBuilder(int size)
Parameters
Type |
Name |
Description |
System.Int32 |
size |
|
Fields
|
Improve this Doc
View Source
m_buf
Declaration
Field Value
Type |
Description |
System.Char[] |
|
|
Improve this Doc
View Source
m_len
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
Array
Declaration
public virtual char[] Array { get; }
Property Value
Type |
Description |
System.Char[] |
|
|
Improve this Doc
View Source
Capacity
Declaration
public virtual int Capacity { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Item[Int32]
Declaration
public virtual char this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
Length
Declaration
public virtual int Length { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Append(ICharSequence)
Declaration
public virtual OpenStringBuilder Append(ICharSequence csq)
Parameters
Returns
|
Improve this Doc
View Source
Append(ICharSequence, Int32, Int32)
Declaration
public virtual OpenStringBuilder Append(ICharSequence csq, int start, int end)
Parameters
Type |
Name |
Description |
ICharSequence |
csq |
|
System.Int32 |
start |
|
System.Int32 |
end |
|
Returns
|
Improve this Doc
View Source
Append(StringBuilder)
Declaration
public virtual OpenStringBuilder Append(StringBuilder csq)
Parameters
Type |
Name |
Description |
StringBuilder |
csq |
|
Returns
|
Improve this Doc
View Source
Append(StringBuilder, Int32, Int32)
Declaration
public virtual OpenStringBuilder Append(StringBuilder csq, int start, int end)
Parameters
Type |
Name |
Description |
StringBuilder |
csq |
|
System.Int32 |
start |
|
System.Int32 |
end |
|
Returns
|
Improve this Doc
View Source
Append(Char)
Declaration
public virtual OpenStringBuilder Append(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
|
Returns
|
Improve this Doc
View Source
Append(String)
Declaration
public virtual OpenStringBuilder Append(string csq)
Parameters
Type |
Name |
Description |
System.String |
csq |
|
Returns
|
Improve this Doc
View Source
Append(String, Int32, Int32)
Declaration
public virtual OpenStringBuilder Append(string csq, int start, int end)
Parameters
Type |
Name |
Description |
System.String |
csq |
|
System.Int32 |
start |
|
System.Int32 |
end |
|
Returns
|
Improve this Doc
View Source
EnsureCapacity(Int32)
Declaration
public virtual void EnsureCapacity(int capacity)
Parameters
Type |
Name |
Description |
System.Int32 |
capacity |
|
|
Improve this Doc
View Source
Reset()
Declaration
|
Improve this Doc
View Source
Resize(Int32)
Declaration
protected virtual void Resize(int len)
Parameters
Type |
Name |
Description |
System.Int32 |
len |
|
|
Improve this Doc
View Source
Set(Char[], Int32)
Declaration
public virtual void Set(char[] arr, int end)
Parameters
Type |
Name |
Description |
System.Char[] |
arr |
|
System.Int32 |
end |
|
|
Improve this Doc
View Source
SubSequence(Int32, Int32)
Declaration
public virtual ICharSequence SubSequence(int start, int end)
Parameters
Type |
Name |
Description |
System.Int32 |
start |
|
System.Int32 |
end |
|
Returns
|
Improve this Doc
View Source
ToCharArray()
Declaration
public virtual char[] ToCharArray()
Returns
Type |
Description |
System.Char[] |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UnsafeWrite(StringBuilder, Int32, Int32)
Declaration
public virtual void UnsafeWrite(StringBuilder b, int off, int len)
Parameters
Type |
Name |
Description |
StringBuilder |
b |
|
System.Int32 |
off |
|
System.Int32 |
len |
|
|
Improve this Doc
View Source
UnsafeWrite(Char)
Declaration
public virtual void UnsafeWrite(char b)
Parameters
Type |
Name |
Description |
System.Char |
b |
|
|
Improve this Doc
View Source
UnsafeWrite(Char[], Int32, Int32)
Declaration
public virtual void UnsafeWrite(char[] b, int off, int len)
Parameters
Type |
Name |
Description |
System.Char[] |
b |
|
System.Int32 |
off |
|
System.Int32 |
len |
|
|
Improve this Doc
View Source
UnsafeWrite(Int32)
Declaration
public virtual void UnsafeWrite(int b)
Parameters
Type |
Name |
Description |
System.Int32 |
b |
|
|
Improve this Doc
View Source
Write(OpenStringBuilder)
Declaration
public void Write(OpenStringBuilder arr)
Parameters
|
Improve this Doc
View Source
Write(StringBuilder)
Declaration
public void Write(StringBuilder arr)
Parameters
Type |
Name |
Description |
StringBuilder |
arr |
|
|
Improve this Doc
View Source
Write(Char)
Declaration
public virtual void Write(char b)
Parameters
Type |
Name |
Description |
System.Char |
b |
|
|
Improve this Doc
View Source
Write(Char[])
Declaration
public void Write(char[] b)
Parameters
Type |
Name |
Description |
System.Char[] |
b |
|
|
Improve this Doc
View Source
Write(Char[], Int32, Int32)
Declaration
public virtual void Write(char[] b, int off, int len)
Parameters
Type |
Name |
Description |
System.Char[] |
b |
|
System.Int32 |
off |
|
System.Int32 |
len |
|
|
Improve this Doc
View Source
Write(Int32)
Declaration
public virtual void Write(int b)
Parameters
Type |
Name |
Description |
System.Int32 |
b |
|
|
Improve this Doc
View Source
Write(String)
Declaration
public virtual void Write(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Implements