/Users/andrea/_magisterarbeit/korpus/clean/testkorpus/32/file16.html NN ----------------------------------------- : Next JJ Previous JJ Contents NNS 6 CD . SENT String NN . SENT h NN file NN In IN C NP or CC any DT object NN oriented JJ language NN , , you PP just RB read VVP the DT class NN data NN structure NN i NP . SENT e SYM . SENT interface NN to TO begin VV using VVG that DT class NN . SENT You PP just RB need VVP to TO understand VV the DT interface NN and CC not RB the DT implementation NN of IN the DT interface NN . SENT In IN case NN of IN String NP class NN , , you PP just RB need VVP to TO read VV and CC understand VV the DT String NP class NN in IN String NP . SENT h NN file NN . SENT You PP do VVP not RB need VV to TO read VV the DT entire JJ implementation NN String NP . SENT cpp NP in IN order NN to TO use VV String NP class NN . SENT The DT object VVP oriented JJ classes NNS are VBP real JJ time NN saver NN and CC they PP very RB neatly RB hide VV the DT implementation NN . SENT In IN object NN oriented VVN Java NP language NN there EX is VBZ the DT equivalent NN called VVD interface NN , , which WDT hides NNS the DT implementation NN details NNS . SENT Given VVN below RB is VBZ String NP . SENT h NN file NN and CC see VV also RB Appendix NN A DT String NP . SENT h NN Author NN . SENT Al NP Dev NP Email NP . SENT alavoor NN AT IN yahoo NN . SENT com NN Use NN string NN class NN or CC String NP class NN To TO prevent VV memory NN leaks NNS a DT char NN class NN to TO manage VV character NN variables NNS Always RB prefer VVP to TO use VV String NP or CC string NN class NN instead RB of IN char NN or CC char NN ifndef NN STRING NN H NP ALDEV NP define VV STRING NN H NP ALDEV NP do VVP not RB use VV iostream NN as IN program NN becomes VVZ bulky JJ . SENT . SENT ifdef NN NOT RB MSWINDOWS VVZ include VV iostream NN else RB include VVP iostream NN . SENT h NN For IN backward RB compatibility NN . SENT Standard NP C NP Library NN headers NNS have VHP no RB . SENT h NN endif NN NOT RB MSWINDOWS VVZ include VV stdio NN . SENT h NN for IN FILE NN and CC sprintf NN include VVP list NN . SENT h NN for IN list NN For IN MS NN Windows NNS 95 CD VC NP or CC Borland NP C NP compiler NN do VVP see VV file NN d NN . SENT program NN files VVZ CBuilder NP include VV examples NNS stdlib NN list NN . SENT cpp NP and CC include VV list NN . SENT h NN include VVP list NN for IN list NN using VVG namespace NN std NN . SENT const JJ short JJ INITIAL JJ SIZE NN 50 CD . SENT const JJ short JJ NUMBER NN LENGTH NN 300 CD . SENT const NP int NP MAX NP ISTREAM NP SIZE NN 2048 CD . SENT class NN StringBuffer NP . SENT I PP compiled VVN and CC tested VVN this DT string NN class NN on IN Linux NP Redhat NP 7 CD . SENT 1 CD and CC MS NN Windows NNS Borland NP C NP version NN 5 CD . SENT 2 CD win NN 32 CD . SENT This DT should MD also RB work VV using VVG MS NN Visual NP C NP compiler NN class NN String NP public NN . SENT String NN . SENT String NN const NN char NN bb NP . SENT needed VVN by IN operator NN String NP const NN char NN bb NP , , int NP start NN , , int NP slength NN . SENT subset NN of IN chars NNS String NP int NP bb NP . SENT needed VVN by IN operator NN String NP unsigned JJ long JJ bb NNS . SENT needed VVN by IN operator NN String NP long JJ bb NP . SENT needed VVN by IN operator NN String NP float NN bb NP . SENT needed VVN by IN operator NN String NP double JJ bb NP . SENT needed VVN by IN operator NN String NP const NP String NP rhs NNS . SENT Copy NN Constructor NN needed VVN by IN operator NN String NP StringBuffer NP sb NN . SENT Java NP compatibility NN but CC causes VVZ compile VV problem NN on IN MS NN windows NNS and CC core NN dumps VVZ String NP int NP bb NP , , bool NN dummy NN . SENT for IN StringBuffer NP class NN virtual JJ String NP . SENT Made VVN virtual JJ so RB that IN when WRB base NN class NN is VBZ deleted VVN then RB the DT derived VVN class NN destructor NN is VBZ called VVN . SENT char VV val NP return NN sval NN . SENT It PP is VBZ not RB safe JJ to TO make VV sval JJ public JJ Functions NNS below RB imitate VV Java NP language's NP String NP object VVP unsigned JJ long JJ length NN . SENT char NN charAt NN int NP where WRB . SENT void NN getChars NNS int NP sourceStart NP , , int NP sourceEnd NP , , char NN target NN , , int NP targetStart NP . SENT char NN toCharArray NN . SENT char NN getBytes NNS . SENT bool NN equals VVZ String NP str NP 2 CD . SENT See VV also RB operator NN bool NN equals VVZ char NN str NP 2 CD . SENT See VV also RB operator NN bool NN equalsIgnoreCase NN String NP str NP 2 CD . SENT bool NN regionMatches NNS int NP startIndex NP , , String NP str NP 2 CD , , int NP str NP 2 CD StartIndex NP , , int NP numChars NNS . SENT bool NN regionMatches NNS bool NN ignoreCase NN , , int NP startIndex NP , , String NP str NP 2 CD , , int NP str NP 2 CD StartIndex NP , , int NP numChars NNS . SENT String NN toUpperCase NN . SENT String NN toLowerCase NN . SENT bool NN startsWith NN String NP str NP 2 CD . SENT bool NN startsWith NN char NN str NP 2 CD . SENT bool NN endsWith NN String NP str NP 2 CD . SENT bool NN endsWith NN char NN str NP 2 CD . SENT int NP compareTo NP String NP str NP 2 CD . SENT int NP compareTo NP char NN str NP 2 CD . SENT int NP compareToIgnoreCase NP String NP str NP 2 CD . SENT int NP compareToIgnoreCase NN char NN str NP 2 CD . SENT int NP indexOf JJ char NN ch NN , , int NP startIndex NP 0 CD . SENT int NP indexOf JJ char NN str NP 2 CD , , int NP startIndex NP 0 CD . SENT int NP indexOf NP String NP str NP 2 CD , , int NP startIndex NP 0 CD . SENT int NP lastIndexOf JJ char NN ch NN , , int NP startIndex NP 0 CD . SENT int NP lastIndexOf JJ char NN str NP 2 CD , , int NP startIndex NP 0 CD . SENT int NP lastIndexOf NP String NP str NP 2 CD , , int NP startIndex NP 0 CD . SENT String NN substring NN int NP startIndex NP , , int NP endIndex NP 0 CD . SENT String NN replace VV char NN original JJ , , char NN replacement NN . SENT String NN replace VV char NN original JJ , , char NN replacement NN . SENT String NN trim VV . SENT See VV also RB overloaded VVN trim JJ String NP concat NN String NP str NP 2 CD . SENT See VV also RB operator NN String NP concat NN char NN str NP 2 CD . SENT See VV also RB operator NN String NP concat NP int NP bb NP . SENT String NN concat NN unsigned JJ long JJ bb NNS . SENT String NN concat NNS float VVP bb NP . SENT String NN concat NN double JJ bb NP . SENT String NN reverse NN . SENT See VV also RB overloaded VVN reverse JJ String NP deleteCharAt NN int NP loc NP . SENT String NP deleteStr NP int NP startIndex NP , , int NP endIndex NP . SENT Java's NNS delete VV String NP valueOf JJ char NN ch NN char NN aa NN 2 CD . SENT aa NN 0 CD ch NN . SENT aa NN 1 CD 0 CD . SENT return VV String NP aa NN . SENT String NN valueOf NN char NN chars VVZ return NN String NP chars VVZ . SENT String NN valueOf JJ char NN chars NNS , , int NP startIndex NP , , int NP numChars NNS . SENT String NN valueOf JJ bool NN tf NN if IN tf NN return NN String NP true JJ . SENT else RB return VV String NP false JJ . SENT String NN valueOf JJ int NP num NN return NN String NP num NN . SENT String NN valueOf NN long JJ num NN return NN String NP num NN . SENT String NN valueOf JJ float NN num NN return NN String NP num NN . SENT String NN valueOf NN double JJ num NN return NN String NP num NN . SENT See VV also RB StringBuffer NP class NN in IN this DT file NN given VVN below IN End NP of IN Java NP like IN String NP object NN functions NNS List NP of IN additonal JJ functions NNS not RB in IN Java NP String NP ltrim NN . SENT void JJ ltrim NN bool NN dummy NN . SENT Directly RB changes NNS object VVP . SENT dummy JJ to TO get VV different JJ signature NN String NP rtrim NP . SENT void JJ rtrim NN bool NN dummy NN . SENT Directly RB changes NNS object VVP . SENT See VV also RB chopall NN . SENT dummy JJ to TO get VV different JJ signature NN void NN chopall NN char NN ch NN n NN . SENT removes VVZ trailing VVG character NN ch NN . SENT See VV also RB rtrim RB void VV chop VV . SENT removes VVZ one CD trailing VVG character NN void NN roundf NN float NN input NN val NP , , short JJ precision NN . SENT void VV decompose VV float VV long RB integral JJ , , long JJ fraction NN . SENT void JJ roundd JJ double JJ input NN val NP , , short JJ precision NN . SENT void VV decompose VV double RB long RB integral JJ , , long JJ fraction NN . SENT void VV explode VV char NN separator NN . SENT see VV also RB token JJ and CC overloaded VVN explode VV String NP explode VV int NP strcount NN , , char NN separator NN . SENT see VV also RB token JJ void NN implode VV char NN glue NN . SENT void VV join VV char NN glue NN . SENT String NN repeat NN char NN input NN , , unsigned JJ int NP multiplier NN . SENT String NP tr NP char NN from IN , , char VV to TO . SENT translate VV characters NNS String NP center NN int NP padlength NN , , char NN padchar NN . SENT String NN space NN int NP number NN 0 CD , , char NN padchar NN . SENT String NN xrange NN char NN start NN , , char NN end NN . SENT String NN compress NN char NN list NN . SENT String NN left VVD int NP slength NP 0 CD , , char NN padchar NN . SENT String NN right NN int NP slength NP 0 CD , , char NN padchar NN . SENT String NN overlay NN char NN newstr NN , , int NP start NN 0 CD , , int NP slength NP 0 CD , , char NN padchar NN . SENT String NN at IN char NN regx NN . SENT matches VVZ first RB match VV of IN regx NP String NP before IN char NN regx NN . SENT returns NNS string NN before IN regx NP String NP after IN char NN regx NN . SENT returns NNS string NN after IN regx NP String NP mid JJ int NP startIndex NN 0 CD , , int NP length NN 0 CD . SENT bool NN isNull NN . SENT bool NN isInteger NN . SENT bool NP isInteger NP int NP pos NNS . SENT bool NN isNumeric NN . SENT bool NN isNumeric JJ int NP pos NNS . SENT bool NN isEmpty NN . SENT same JJ as IN length NN 0 CD bool NN isUpperCase NN . SENT bool NN isUpperCase NN int NP pos NNS . SENT bool NN isLowerCase NN . SENT bool NN isLowerCase NN int NP pos NNS . SENT bool NN isWhiteSpace NN . SENT bool NN isWhiteSpace NN int NP pos NNS . SENT bool NN isBlackSpace NN . SENT bool NN isBlackSpace NN int NP pos NNS . SENT bool NN isAlpha NN . SENT bool NP isAlpha NP int NP pos NNS . SENT bool NN isAlphaNumeric NN . SENT bool NN isAlphaNumeric JJ int NP pos NNS . SENT bool NN isPunct NN . SENT bool NN isPunct JJ int NP pos NNS . SENT bool NN isPrintable NN . SENT bool NN isPrintable JJ int NP pos NNS . SENT bool NN isHexDigit NN . SENT bool NP isHexDigit NP int NP pos NNS . SENT bool NN isCntrl NN . SENT bool NN isCntrl NN int NP pos NNS . SENT bool NN isGraph NN . SENT bool NN isGraph NN int NP pos NNS . SENT void NN clear JJ . SENT int NP toInteger NP . SENT long JJ parseLong NN . SENT double JJ toDouble NN . SENT String NN token JJ char NN separator NN . SENT see VV also RB StringTokenizer NP , , explode VV String NP crypt NN char NN original JJ , , char NN salt NN . SENT String NN getline NN FILE NN infp NN stdin NN . SENT see VV also RB putline NN String NP getline NN fstream NN infp NN stdin NN . SENT see VV also RB putline NN void NN putline NN FILE NN outfp NN stdout NN . SENT see VV also RB getline JJ void NN putline NN fstream NN outfp NN stdout NN . SENT see VV also RB getline JJ void NN swap NN String NP aa NN , , String NP bb NP . SENT swap NN aa NN to TO bb NP String NP sort NN String NP aa NN . SENT sorts NNS array NN of IN strings NNS String NP sort NN int NP startIndex NP 0 CD , , int NP length NN 0 CD . SENT sorts NNS characters NNS inside IN a DT string NN int NP freq NP char NN ch NN . SENT returns VVZ the DT number NN of IN distinct JJ , , nonoverlapping NN matches VVZ void JJ Format NN const NN char NN fmt NP , , . SENT . SENT . SENT . SENT String NN replace VV int NP startIndex NP , , int NP endIndex NP , , String NP str NP . SENT void JJ substring NN int NP startIndex NP , , int NP endIndex NP , , bool NN dummy NN . SENT Directly RB changes NNS object VVP void JJ reverse JJ bool NN dummy NN . SENT Directly RB changes NNS object VVP . SENT dummy JJ to TO get VV different JJ signature NN String NP deleteCharAt NP int NP loc NP , , bool NN dummy NN . SENT Directly RB changes NNS object VVP String NP deleteStr NP int NP startIndex NP , , int NP endIndex NP , , bool NN dummy NN . SENT void JJ trim JJ bool NN dummy NN . SENT Directly RB changes NNS object VVP . SENT dummy JJ to TO get VV different JJ signature NN String NP insert NN int NP index NN , , String NP str NP 2 CD . SENT String NN insert NN int NP index NN , , String NP str NP 2 CD , , bool NN dummy NN . SENT Directly RB changes NNS object VVP String NP insert NN int NP index NN , , char NN ch NN . SENT String NN insert NN int NP index NN , , char NN ch NN , , bool NN dummy NN . SENT Directly RB changes NNS object VVP String NP insert NN char NN newstr NN , , int NP start NN 0 CD , , int NP length NN 0 CD , , char NN padchar NN . SENT String NN dump NN . SENT Dump VV the DT string NN like JJ od NN c SYM octal NN dump NN does VVZ required VVN by IN Java's NP StringBuffer NP void NN ensureCapacity NN int NP capacity NN . SENT void JJ setLength NN int NP len NP . SENT void JJ setCharAt NN int NP where WRB , , char VV ch NN . SENT see VV also RB charAt NN , , getCharAt NN required VVN by IN Java's NP Integer NN class NN , , Long NP , , Double NP classes NNS int NP parseInt NP String NP ss NN return NN ss NNS . SENT toInteger JJR . SENT int NP parseInt NN char NN ss JJ String NP tmpstr NN ss NN . SENT return NN tmpstr NN . SENT toInteger JJR . SENT long JJ parseLong JJ String NP ss NN return NN ss NNS . SENT parseLong NN . SENT long JJ parseLong JJ char NN ss NN String NP tmpstr NN ss NN . SENT return NN tmpstr NN . SENT parseLong NN . SENT float VV floatValue JJ return NN float NN toDouble NN . SENT double JJ doubleValue NN return NN toDouble NN . SENT char NN number NN 2 CD string NN int NP bb NP . SENT see VV also RB String NP int NP char NN number NN 2 CD string NN long JJ bb NP . SENT see VV also RB String NP long JJ char NN number NN 2 CD string NN unsigned JJ long JJ bb NNS . SENT see VV also RB String NP long JJ char NN number NN 2 CD string NN double JJ bb NP . SENT see VV also RB String NP double JJ List NP of IN duplicate JJ function NN names NNS char NN c NN str NN use NN val NP bool NN find VVP . SENT Use NN regionMatches NNS bool NN search NN . SENT Use NN regionMatches NNS bool NN matches VVZ . SENT Use NN regionMatches NNS int NP rindex NP String NP str NP 2 CD , , int NP startIndex NP 0 CD . SENT Use NN lastIndexOf NN String NP blanks VVZ int NP slength NN . SENT Use VV repeat VV String NP append VV String NP str NP 2 CD . SENT Use NN concat NN or CC operator NN String NP prepend NN String NP str NP 2 CD . SENT Use NN operator NN . SENT See VVP also RB append VV String NP split NN char NN separator NN . SENT Use NN token JJ , , explode VV or CC StringTokenizer NP class NN bool NN contains VVZ char NN str NP 2 CD , , int NP startIndex NP 0 CD . SENT use NN indexOf NN void NN empty JJ . SENT Use NN is VBZ empty JJ void NN vacuum NN . SENT Use VV clear JJ void NN erase VV . SENT Use VV clear JJ void NN zero NN . SENT Use VV clear JJ bool NN is VBZ float VV . SENT Use NN is VBZ numeric JJ . SENT bool NN is VBZ decimal JJ . SENT Use NN is VBZ numeric JJ . SENT bool NN is VBZ Digit NN . SENT Use NN is VBZ numeric JJ . SENT float VV float VV value NN . SENT Use NN toDouble NN . SENT float NN tofloat NN . SENT Use NN toDouble NN . SENT double JJ double JJ value NN . SENT Use NN toDouble NN . SENT double JJ numeric JJ value NN . SENT Use NN toDouble NN . SENT int NP int NP value NN . SENT Use VV toInteger NP int NP tonumber NN . SENT Use VV toInteger NP String NP get VV . SENT Use NN substring NN or CC val NP but CC prefer VV Java's NP substring NN String NP getFrom NP . SENT Use NN substring NN or CC val NP but CC prefer VV Java's NP substring NP String NP head NN int NP len NP . SENT Use NN substring NN 0 CD , , len NP String NP tail NN int NP len NP . SENT Use NN substring NN length NN len NP , , length NN String NP cut VVD . SENT Use NN deleteCharAt NN or CC deleteStr NN String NP cutFrom NP . SENT Use NN deleteCharAt NN or CC deleteStr NP String NP paste NN . SENT Use VV insert VV String NP fill VV . SENT Use VV replace VV char NN firstChar NN . SENT Use NN substring NN 0 CD , , 1 CD . SENT char NN lastChar NN . SENT Use NN substring NN length NN 1 CD , , length NN . SENT String NN findNext NN . SENT Use NN token JJ , , explode VV or CC StringTokenizer NN class NN begin VV . SENT iterator NN . SENT Use NN operator NN ii NN end NN . SENT iterator NN . SENT Use NN operator NN ii NN copy NN . SENT Use NN assignment NN operator NN , , String NP aa NN bb NP . SENT clone NN . SENT Use NN assignment NN operator NN , , String NP aa NN bb NP . SENT void JJ putCharAt NN int NP where WRB , , char VV ch NN . SENT Use NN setCharAt NN void NN replaceCharAt NN int NP where WRB , , char VV ch NN . SENT Use NN setCharAt NN char NN getCharAt NN int NP where WRB . SENT Use NP CharAt NP void NN parseArgs NN int NP where WRB , , char VV ch NN . SENT Use NP StringTokensizer NP class NN , , token JJ or CC explode VV void NN truncate JJ . SENT Use VV trim VV , , rtrim NNS , , chop VV or CC chopall VV convert VV number NN to TO string NN notostring NN , , int NP 2 CD str NN , , long RB 2 CD str NN Use NN number NN 2 CD string NN All DT Operators NP . SENT . SENT . SENT String NN operator NN const JJ String NP rhs NNS . SENT friend NN String NP operator NN const NP String NP lhs NNS , , const JJ String NP rhs NNS . SENT String NN operator NN const JJ String NP rhs NNS . SENT using VVG reference NN will MD be VB faster JJR String NP operator NN const NP String NP rhs NNS . SENT using VVG reference NN will MD be VB faster RBR bool JJ operator NN const NN String NP rhs NNS . SENT using VVG reference NN will MD be VB faster RBR bool JJ operator NN const NN char NN rhs NNS . SENT bool NN operator NN . SENT const NP String NP rhs NNS . SENT bool NN operator NN . SENT const JJ char NN rhs NNS . SENT char NN operator NN unsigned JJ long JJ Index NN const NN . SENT char NN operator NN unsigned JJ long JJ Index NN . SENT friend NN ostream NN operator NN ostream NN Out RB , , const NP String NP str NP 2 CD . SENT friend NN istream NN operator NN istream NN In IN , , String NP str NP 2 CD . SENT bool NP String NP . SENT . SENT operator NN const NN char NN rhs NNS const NN . SENT handy JJ methods NNS for IN map NN vector NN . SENT bool NP String NP . SENT . SENT operator NN const NN String NP rhs NNS const NN . SENT handy JJ methods NNS for IN map NN vector NN . SENT do VV later RBR . SENT static JJ list NN String NP explodeH NP . SENT list NN head NN protected VVN . SENT char NN sval NN . SENT Not RB safe JJ to TO make VV sval JJ public JJ void NN verifyIndex NN unsigned JJ long JJ index NN const NN . SENT not RB inline NN because IN MS NN Win NP 32 CD complains VVZ void JJ verifyIndex JJ unsigned JJ long JJ index NN , , char NN aa NN const NN . SENT not RB inline NN MS NN Win NP 32 CD complains VVZ void JJ str NN cat NN char NN bb NP . SENT void JJ str NN cat NN int NP bb NP . SENT void JJ str NN cat NN unsigned JJ long JJ bb NNS . SENT void JJ str NN cat NN float NN bb NP . SENT void JJ str NN cpy NN char NN bb NP . SENT void JJ str NN cpy NN int NP bb NP . SENT itoa NN void NN str NN cpy JJ unsigned JJ long JJ bb NNS . SENT void JJ str NN cpy NN float NN bb NP . SENT itof NP private JJ . SENT Note NN . SENT All PDT the DT private JJ variables NNS and CC functions NNS begin VVP with IN underscore NN static JJ String NP global JJ String NP . SENT for IN use NN in IN add VV operator NN inline NN void NN free JJ glob NN String NP aa NN . SENT bool NP equalto NP const NP String NP rhs NNS , , bool NN type NN false JJ . SENT bool NN equalto NN const NN char NN rhs NNS , , bool NN type NN false JJ . SENT String NN pString NN . SENT temporary JJ pointer NN for IN internal JJ use NN . SENT . SENT char NN pNumber NN 2 CD String NP . SENT temporary JJ pointer NN for IN internal JJ use NN . SENT . SENT inline JJ void NN allocpString NN . SENT inline JJ void NN allocpNumber NN 2 CD String NP . SENT inline NN void NN Common NP 2 CD AllCstrs NP . SENT inline JJ void NN reverse NN . SENT inline JJ void NN deleteCharAt NN int NP loc NP . SENT inline JJ void NN deleteStr NN int NP startIndex NP , , int NP endIndex NN . SENT inline NN void NN trim VV . SENT inline JJ void NN ltrim NNS . SENT inline JJ void NN rtrim NNS . SENT inline NN void NN substring VVG int NP startIndex NP , , int NP endIndex NN . SENT void JJ roundno NN double JJ input NN dbl NN , , float VV input NN flt NN , , short JJ precision NN , , bool NN type NN . SENT . SENT Global JJ variables NNS are VBP defined VVN in IN String NP . SENT cpp NP endif NN STRING NN H NP ALDEV NP 6 CD . SENT 1 CD StringBuffer NP . SENT h NN Author NN . SENT Al NP Dev NP Email NP . SENT alavoor NN AT IN yahoo NN . SENT com NN ifndef NN STRINGBUFFER NP H NP ALDEV NP define VV STRINGBUFFER NP H NP ALDEV NP Imitate VV Java's NP StringBuffer NP object VVP This DT class NN is VBZ provided VVN so RB that IN the DT Java NP code NN is VBZ portable JJ to TO C NP , , requiring VVG minimum JJ code NN changes NNS Note VV . SENT While IN coding VVG in IN C NP DO VVP NOT RB use VV this DT class NN StringBuffer NP , , this DT is VBZ provided VVN only RB for IN compiling VVG code NN written VVN in IN Java NP which WDT is VBZ cut VVN pasted VVN inside IN C NP code NN . SENT class NN StringBuffer NP . SENT public JJ String NP public NN . SENT StringBuffer NP . SENT StringBuffer NP . SENT StringBuffer NP char NN aa NN . SENT StringBuffer NP int NP size NN . SENT StringBuffer NP String NP str NN . SENT int NP capacity NN . SENT StringBuffer NN append VV String NP str NP 2 CD . SENT See VV also RB operator NN this DT str NP 2 CD . SENT return VV this DT . SENT This DT is VBZ causing VVG core JJ dumps NNS . SENT . SENT . SENT StringBuffer NN append VV char NN str NP 2 CD . SENT StringBuffer NN append VV int NP bb NP . SENT StringBuffer NN append VV unsigned JJ long JJ bb NNS . SENT StringBuffer NN append VV float NN bb NNS . SENT StringBuffer NN append VV double JJ bb NNS . SENT StringBuffer NP insert NN int NP index NN , , String NP str NP 2 CD . SENT StringBuffer NP insert NN int NP index NN , , char NN ch NN . SENT StringBuffer NN reverse NN . SENT Java's NNS delete VV . SENT Cannot NP use NN name NN delete VV in IN C NP StringBuffer NP deleteStr NP int NP startIndex NP , , int NP endIndex NP . SENT StringBuffer NP deleteCharAt NP int NP loc NP . SENT StringBuffer NP substring NP int NP startIndex NP , , int NP endIndex NP 0 CD . SENT void NN assign VVP char NN str NN . SENT private JJ . SENT StringBuffer NP pStringBuffer NP . SENT inline JJ void NN allocpStringBuffer NN . SENT inline NN void NN Common NP 2 CD AllCstrs NP . SENT . SENT endif NP STRINGBUFFER NP H NP ALDEV NP 6 CD . SENT 2 CD StringTokenizer NN . SENT h NN Author NN . SENT Al NP Dev NP Email NP . SENT alavoor NN AT IN yahoo NN . SENT com NN ifndef NN STRINGTOKENIZER NP H NP ALDEV NP define VV STRINGTOKENIZER NP H NP ALDEV NP Imitate VV Java's NP StringTokenizer NP class NN provided VVD to TO compile VV Java NP code NN in IN C NP and CC vice NN versa FW class NN StringTokenizer NN . SENT public JJ String NP public NN . SENT StringTokenizer NP String NP str NN . SENT StringTokenizer NP String NP str NP , , String NP delimiters NNS . SENT StringTokenizer NP String NP str NP , , String NP delimiters NNS , , bool NN delimAsToken NN . SENT StringTokenizer NP . SENT int NP countTokens NNS . SENT bool NN hasMoreElements NNS . SENT bool NN hasMoreTokens NNS . SENT String NN nextElement NN . SENT in IN Java NP returns NNS type NN Object VVP String NP nextToken NP . SENT String NP nextToken NP String NP delimiters NNS . SENT private JJ . SENT int NP CurrentPosition NP . SENT current JJ index NN on IN string NN int NP TotalTokens NP . SENT int NP RemainingTokens NP . SENT char VV ListOfDl NP . SENT list NN of IN delimiters NNS char NN WorkStr NP . SENT temp NN work NN string NN char NN OrigStr NN . SENT original JJ string NN passed VVN bool NP DlFlag NP . SENT delimiter JJR flag NN inline NN void NN vPrepWorkStr NN char NN delimiters NNS NULL JJ . SENT . SENT endif NP STRINGTOKENIZER NP H NP ALDEV NP Next NP Previous JJ Contents NNS Home NP Linux NP Terms NNS Get VVP Linux NP Quickstart NP Forums NNS Search NP About IN Us NP Copyright NP 2005 CD LinuxSelfhelp NP . SENT com NN . SENT All DT rights NNS reserved VVN