C# Class Fan.Sys.StrBuf

StrBuf mutable random-access sequence of integer characters.
Inheritance: FanObj
ファイルを表示 Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@out ( ) : OutStream
@typeof ( ) : Type
StrBuf ( StringBuilder sb ) : System
add ( object x ) : StrBuf
addChar ( long ch ) : StrBuf
capacity ( ) : long
capacity ( long size ) : void
clear ( ) : StrBuf
get ( long index ) : long
getRange ( Range r ) : string
insert ( long index, object x ) : StrBuf
isEmpty ( ) : bool
join ( object x ) : StrBuf
join ( object x, string sep ) : StrBuf
make ( ) : StrBuf

Create with initial capacity of 16.

make ( long capacity ) : StrBuf

Create with specified capacity.

remove ( long index ) : StrBuf
removeRange ( Range r ) : StrBuf
replaceRange ( Range r, string str ) : StrBuf
set ( long index, long ch ) : StrBuf
size ( ) : long
toStr ( ) : string

Method Details

@out() public method

public @out ( ) : OutStream
return OutStream

@typeof() public method

public @typeof ( ) : Type
return Type

StrBuf() public method

public StrBuf ( StringBuilder sb ) : System
sb StringBuilder
return System

add() public method

public add ( object x ) : StrBuf
x object
return StrBuf

addChar() public method

public addChar ( long ch ) : StrBuf
ch long
return StrBuf

capacity() public method

public capacity ( ) : long
return long

capacity() public method

public capacity ( long size ) : void
size long
return void

clear() public method

public clear ( ) : StrBuf
return StrBuf

get() public method

public get ( long index ) : long
index long
return long

getRange() public method

public getRange ( Range r ) : string
r Range
return string

insert() public method

public insert ( long index, object x ) : StrBuf
index long
x object
return StrBuf

isEmpty() public method

public isEmpty ( ) : bool
return bool

join() public method

public join ( object x ) : StrBuf
x object
return StrBuf

join() public method

public join ( object x, string sep ) : StrBuf
x object
sep string
return StrBuf

make() public static method

Create with initial capacity of 16.
public static make ( ) : StrBuf
return StrBuf

make() public static method

Create with specified capacity.
public static make ( long capacity ) : StrBuf
capacity long
return StrBuf

remove() public method

public remove ( long index ) : StrBuf
index long
return StrBuf

removeRange() public method

public removeRange ( Range r ) : StrBuf
r Range
return StrBuf

replaceRange() public method

public replaceRange ( Range r, string str ) : StrBuf
r Range
str string
return StrBuf

set() public method

public set ( long index, long ch ) : StrBuf
index long
ch long
return StrBuf

size() public method

public size ( ) : long
return long

toStr() public method

public toStr ( ) : string
return string