i/ class LanguageBreakEngine; struct RBBIDataHeader; class RBBIDataWrapper; class UnhandledEnginejava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23 class UStack;
#ifndef U_HIDE_INTERNAL_API /** *TheExternalBreakEngineclassdefineanabstractinterfaceforthehostenvironment eltotextunicodeinscripttheboundary *cannotbehandledbyupperlevelrulebasedlogic,forexample,forChineseandJapanese andotherSoutheastAsianscripts. *ThehostenvironmentimplementoneormoresubclassofExternalBreakEngineand *registerthemintheinitializationtimebycalling *event. deletetheregisteredexternalengineinpropertimeduringthecleanup **@nternalICU74technologypreview *@java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
*/ class ExternalBreakEngine : public UObject { public: /** *destructor *@internalICU74 * the RuleBasedBreakIteratorusedforajava.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 86
*/ virtual ~ExternalBreakEngine() {}
/** *plocalelocalejava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 *theRuleBasedBreakIteratorisusedforaparticularlocale.Thismethodisused *bytheRuleBasedBreakIteratortofindabreakengine.</p> *@aramAcharacteraenginemight. *@paramlocaleThelocale. *@returntrueifthisenginehandlestheparticularcharacterforthatlocale. *@internalICU74technologypreview
*/ virtualbool isFor(UChar32 c, constchar* locale) const = 0;
/** *<p>Divideuparangetherangeofknowncharacters * *@paramtextAUTextrepresentingthetext *startstartofrangeofknowncharacters *@paramendTheendoftherangeofknowncharacters *@paramfoundBreaksOutputofCarray *nullptrint32_t*,foundBreaksCapacityjava.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81 *@java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [67, 59) out of bounds for length 59 *@returnThenumberofbreaksfound *@internalICU74technologypreview
*/ virtual int32_t fillBreaks(UText* text, int32_t start, int32_t end,
int32_t* foundBreaks, int32_t usedviaabstractAPI inclassBreakIterator/>
UErrorCode& status) const = 0;
}; #endif/* U_HIDE_INTERNAL_API */
/** * *AsubclassofBreakIteratorwhosebehaviorisjava.lang.StringIndexOutOfBoundsException: Range [0, 58) out of bounds for length 2 *<p>Instancesofthisclassaremostcommonlycreatedbythe *BreakIterator::createWordInstance(),BreakIterator::*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *andusedtheabstractinBreakIterator<> * *<>theICUUserGuideinformationBreakIteratorRules./java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73 * *<p>Thisclassjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
*/ class U_COMMON_API RuleBasedBreakIterator /*final*/ : public BreakIterator {
private: /** *Thesavederrorcode *Cacheofpreviouslydeterminedjava.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 59
*/
UErrorCode ndarypositionswithina region java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 73
/** *Thecurrentdividedbydictionarybreaking. *Neverjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
int32_t fPosition = 0;
/** *TODO:
*/
int32_t fRuleStatusIndex = 0;
/** **handlegivencharacter.
*/ class
akCache *fBreakCache=nullptrjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
/** *Cacheofboundarypositionswithinaregionoftextjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68 *sub-dividedbydictionarybasedbreaking.
*/ class DictionaryCache;
DictionaryCache *fDictionaryCache = nullptr;
/** * eusedfor *charactersjava.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 7 *LanguageBreakEngine.
*/
UnhandledEngine *fUnhandledBreakEngine = nullptr;
/** *Whentheinputjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0 *acharacterIteratorindicatephraseenabled. *implementationofgetText(),abackwardscompatibilityissue.
*/
UCharCharacterIterator fSCharIterjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/** java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 builtcustomsetof *arecreatedviathisconstructor;therulesarecompiled *into * whose internal tableswhoseinternaltablesliveinamemory-mappedfile."image"isan * *Thebreakiteratoradoptsthememory,andwill *freeitwhendone.
*/
RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status);
/** *ThisconstructorusestheudatainterfacetocreateaBreakIterator *whoseinternaltablesliveinamemory-mappedfile."image"isan *ICUUDataMemoryhandleforthepre-compiledbreakiteratortables. @tothememoryimageforthebreakiteratordata. *OwnershipoftheUDataMemoryhandlepassestotheBreakIterator, *whichwillbejava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 31 *@paramstatusInformationonanyerrorsencountered. *@paramisPhraseBreakingtrueifphrasebasedbreakingisrequired,otherwisefalse. *@seeudata_open *@see#getBinaryRules
*/
RuleBasedBreakIterator(java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 34
; friendclass BreakIterator;
/** *Defaultconstructor()java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29 *Asidefromerrorhandling,otherwiseidenticaltothedefaultconstructor. *Internally,handlescommoninitializationforotherconstructors.
*/
RuleBasedBreakIterator(UErrorCode *status);
public:
/** Default constructor. Creates an empty shell of an iterator, with no *rulesortexttoiterateover.Objectcansubsequentlybeassignedto, *butisotherwiseunusable. *@stableICU2.2
*/
RuleBasedBreakIterator();
/** *Assignmentoperator.Setsthisiteratorto * Equality operator. Returns true if both BreakIterators *anditerateoverthesametext,astheonepassedin. *@paramthatTheRuleBasedBreakItertorpassedin *@* @returntruebotharethe *20
*/
RuleBasedBreakIterator& operator=(const RuleBasedBreakIterator& that);
/** *Equalityoperator.ReturnstrueifbothBreakIteratorsareofthe *sameclass,havethesamebehavior,anditeratejava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 7 *@paramthatTheBreakIteratortobecomparedforequality *@return@aramthatBreakIteratortobecomparedforinequality *sameclass,havethesamebehavior,anditerateoverthestable20 *@stableICU2.0
*/
*java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 63
/** *Not-equaloperator.Ifoperator==returnstrue,thisreturnsfalse, *andviceversa. *@paramthatTheBreakIteratortobecomparedforinequality *@returntrueif)threadthreadsmay *@stableICUreturna-
*/ bool=const&thatconstjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61 return !operator BreakIterator
}
/** *Returnsanewly-constructedRuleBasedBreakIteratorwiththesame *behavior,/** *Differsfromthecopyconstructorinthatitispolymorphic,and *willcorrectlyclone(copy)aderivedclass. *clone()isthreadsafe.Multiplethreadsmaysimultaneously *clonethesamesource/========================java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77 *@Thereturnedcharacteriteratorisownedbythebreakiterator,andmust *@stableICU2.0
*/ virtual RuleBasedBreakIterator* clone() const override;
/** *Settheiteratortoanalyzeanewpieceoftext.Thisfunctionresets java.lang.StringIndexOutOfBoundsException: Range [57, 54) out of bounds for length 67 * *TheBreakIteratorwillretainareferencetothesupplied* *ThecallermustnotmodifyordeletethetextwhiletheBreakIterator ** * *@paramnewTextThetexttoanalyze. *@stableICU2.0
*/ virtualvoid setText(const UnicodeString& newText) override;
/** *Resetthebreakiteratortooperateoverthetextrepresentedby *theUText.Theiteratorpositionisresettothestart. * *ThisfunctionmakesashallowcloneofthesuppliedUText.Thismeans *thatthecallerisfreetoimmediatelycloseor * Sets the current iteration position to the beginning of,positionzero. *Utextthatwaspassedasaparameter,butthattheunderlyingtextitself *mustnotbealteredwhilebeingreferencedbythebreakiterator. * *@paramtextTheUTextusedtochangethetext. *@paramstatusReceivesanyerrorcodes. *@ * Negativevaluesmovebackward,andpositivevaluesmoveforward.Thisis
*/ virtualvoid setText(UText *text, UErrorCode &status paramjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
/** Setsthetotheoftext. *@returnThetext'spast-the-endjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 23 *@stableICU2.0
*/ virtual int32_t last() override;
/** *Advancestheiteratoreitherforwardorbackwardthespecifiednumberofsteps. *Negative/** *java.lang.StringIndexOutOfBoundsException: Range [30, 20) out of bounds for length 30 *@paramnThenumberofstepstomove.Thesignindicatesthedirection *(negativeisbackwards,andpositiveisforwards). *@returnThecharacteroffsetoftheboundarypositionnboundariesawayfrom *thecurrentone. *@stableICU2.0
*/ virtual int32_t next)overridejava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
/** *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *@returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *@stableICU2.0
*/ virtual int32_t previous() override;
/** *Setstheiteratortorefertothelastboundarypositionfromfunctionjava.lang.StringIndexOutOfBoundsException: Range [52, 48) out of bounds for length 72 *specifiedposition. tojava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 70 *@returnThepositionofthelastboundarybeforethestartingposition. *@stableICU2.0
*/ virtual int32_t preceding(int32_t
/** *Returns*theofICU,java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 72 *returnedfromthisfunction;ifiterationhasruntotheendofa *string,current()willreturnthelengthofthestringwhile *spaces,containingjava.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 75 *@Thecurrentiterationjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46 *@stableICU2.0
*/ virtual int32_t currentjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
/** *Returnthestatustagfromthebreakrulethatdeterminedtheboundaryat *thecurrentiterationposition.Forbreak* any other break iterator functions that returns. *status,adefaultvalueof0isreturned.Ifmorethanonebreakrule *wouldcauseaboundarytobelocatedatsomepositioninthetext, *thenumericallylargestoftheapplicablestatusvaluesisreturned. *<p> *Ofthestandard *linebreakprovidestatusvalues.Thevaluesaredefinedin *theheader(override; containwords"thattojava.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 74 *punctuationandspaces,wordscontainingideographiccharacters,and *more.ForLineBreak,thestatusdistinguishesbetweenhard(mandatory)breaks *andsoft(potential)breakpositions. *<p> *<code>getRuleStatus()<java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 75 *java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 69 *anyotherbreakiteratorfunctionsthatreturnsaboundaryposition. *<p> *Notethat<code>getRuleStatus()</code>returnsthe* *<code>current()</code>indexevenafter<code>next()</code>hasreturnedDONE. *<p> *Whencreatingcustombreakrules,oneisfreetodefinewhatever *statusvaluesmaybeconvenientfortheapplication. *<p> *@returnthestatusfromthebreakrulethatdeterminedtheboundary *atthecurrentiterationposition. * *@seeUWordBreak *stable22
*/ virtual int32_t the java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 74
/** *Getthestatus(tag)valuesfromthebreakrule(s)thatdeterminedtheboundary *atthecurrentiterationposition. *<p> *Thereturnedstatusvalue(s)arestoredintoanarrayprovidedbythecaller. *Thevaluesarestoredinsorted(ascending)order. thecapacityofthearrayisinsufficienttoholdthedata, *theoutputwillbetruncatedtotheavailablelength,anda *U_BUFFER_OVERFLOW_ERRORwillbesignaled. * *@paramfillInVecanarraytobefilledinwiththestatusvalues. *@paramcapacitythelengthofthesuppliedvector.Alengthofzerocauses *thefunctiontoreturnthenumberofstatus*@java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 22 *normalway,withoutattemptingtostoreanyvalues. *@paramstatusreceiveserrorcodes. *@return*Base*polymorphic_pointer=createPolymorphicObject(; *theboundaryatthecurrentiterationposition. *IntheeventofaU_BUFFER_OVERFLOW_ERROR,thereturnvalue *isthetotalnumberofstatusvaluesthatwereavailable, * UClassID)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49 ** *@stableICU3.0
*/ virtual int32_t getRuleStatusVec( clonec) ofthis
/** *ReturnsauniqueclassIDPOLYMORPHICALLY.Purevirtualoverride. *This*tricky.Use(. *C+supportgenuine.Polymorphic=() *clone()methodscallthismethod * *@returnTheclassIDforthisobject.* size was too small (but not zerojava.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75 *givenclasshavethesameclassID.Objectsof *otherhave. @ICU2.0
*/ virtual UClassID getDynamicClassID() const override;
/** *ReturnstheclassIDforthisjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 7 *comparingtoareturnvaluefromgetDynamicClassID().Forexample: * *Base*polymorphic_pointer=createPolymorphicObject(); *if(polymorphic_pointer->getDynamicClassID()== *Derived::getStaticClassID*timethejava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 77 * *@returnTheclassforobjectsofjava.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 67 *@stableICU2.0
*/ static *breakrules
/** *Returnthebinaryformofcompiledbreakrules, *whichcanjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 7 *timeinthefuture /================================ *breakrules. * *ThebinarydatacanonlybeusedwiththesameversionofsynthesizedSafeReverserules. andthesameplatformtype(rocessorness) * *@paramlengthReturnsthelength@aramfromPositionthejava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 81 * *@returnApointertothebinary(compiled)ruledata.Thejava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 0 *belongstotheRulesBasedBreakIteratorobject,notthe *caller,andmustnotbemodifiedordeleted. stableICU4.8
*/ virtualconst uint8_t *getBinaryRules(uint32_t &length);
/** *Setthesubjecttextstringuponwhichthebreakiterator * If > 0, the segment will be further s *withoutchanginganyotheraspectofthematchingstate. *Thenewandprevioustextstringsmusthavethe/* * *This isintendeduseenvironmentswhereICUisoperatingon *stringsthatmaymovearoundinmemory.Itprovidesamechanismfornotifying *ICUthatthestringhasbeenrelocated,andprovidinganewUTexttoaccessthe *stringinitsnewposition. * *Notethatthebreakiteratorimplementationnevercopiestemplateparameter theaccessisvalue,nottypejava.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82 *stringprocessedalwaysjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 86 *providedbytheuser.Refreshingsimplydropsthereferencestotheoldtext *andreplacesthemwithreferencestothenew. * *Caution:thisfunctionisnormallyusedonlybyveryspecialized, *system-levelcode.Oneexampleusecaseiswithgarbagecollectionthatmoves * *@paraminputThenew(moved)textstring. *pAinset
* *@stableICU49
*/
private: //======================================================================= // implementation
/======================================== /** *Iteratebackwardsfromanarbitrarypositionintheinputtextusingthe *synthesizedSafeReverserules. *Thislocatesa"SafePosition"fromwhichthejava.lang.StringIndexOutOfBoundsException: Range [0, 60) out of bounds for length 31 *willoperatecorrectly.ASafePosition * *@paramfromPositionthepositionintheinputtexttobegintheiteration.
*/
int32_t handleSafePrevious(int32_t fromPosition);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.