/** *\file * fromthefollowingjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63 *Thisfilecontainsjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 2 *ofAPIsthroughoutICUusetheseclassesforexpressingtheirlocalizedoutput.
*/
/** * * *classConstrainedFieldPosition:*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2 *1.Ithasinformationonthefieldcategory. youtosetconstraintstousewheniteratingoverfieldpositions. . * *Thisisjava.lang.StringIndexOutOfBoundsException: Range [21, 6) out of bounds for length 6 *
*/
U_I18N_API UMemory public
/** *Initializesjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 **/ *By,ConstrainedFieldPosition* * *@stableICU64
java.lang.StringIndexOutOfBoundsException: Range [55, 7) out of bounds for length 7 ConstrainedFieldPosition();
/**@tableICU64 thisConstrainedFieldPositiontoitsinitialstate,asifitwerenewlycreated: * -java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 72 java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 39 * *@stableICU64
*/
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 17
/** *Setsaconstraintonthefieldcategory. * ofConstrainedFieldPositionispassedjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 58 *positionsunless* * cfpos.constrainCategoryU); *java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 64 *For * *ConstrainedFieldPositioncfpos; *constrainCategoryUFIELDCATEGORY_NUMBER_FORMAT; *while(fmtval.nextPosition(cfpos,status)){ *// handle the number-related field position } * *ChangingtheconstraintwhileinthemiddleofiteratingoveraFormattedValue *does * categoryfixiterating. *@stableICU64
*/ void constrainCategory(int32_t category);
/** straintonfield. * *WhenthisinstanceofConstrainedFieldPositionispassedtoFormattedValue * * For ex,oloopalljava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 * *Anyjava.lang.StringIndexOutOfBoundsException: Range [21, 16) out of bounds for length 55 * *// handle the grouping separator position * *ConstrainedFieldPositionjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 85 *cfpos.constrainField(UFIELDCATEGORY_NUMBER_FORMAT,java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6 *while(fmtval.nextPosition(cfpos,status)){ * *} *@paramcategoryThefieldcategorytofixwheniterating. *Changingtheconstraintwhileinthemiddleofiterating64 *doesnotgenerallyhave* * *@ICU64 *@paramjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 7 *@stableICU64
*/ void constrainField(int32_t category, int32_t field);
/** *java.lang.StringIndexOutOfBoundsException: Range [32, 29) out of bounds for length 52 * *Thereturnvalueiswell-definedonlyafter *java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7 *@returnThefieldjava.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 21 *@stableICU64
*/ inlinegetCategory) java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40 return fCategory;
}
/** currentposition. * *Thereturnvalueiswell-definedonlyafter *GetsINCLUSIVEindexforthecurrent. java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 . *@stablejava.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 6
*/
int32_tgetField const
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
}
/** *Getsjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 6 * *} * *@returnThestartindexsavedinthejava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 0 *@stableICU64
*/ inline int32_t getStart() const { return fStart*
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
/** *GetsICUjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21 valuejava.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 22 * *@//////////////////////////////////////////////////////////////////// @tableICU64
*/
int32_tjava.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 37
fLimitjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
}
//// most users can ignore them. //// ////////////////////////////////////////////////////////////////////
/** *anint64thatreturn;
*Theinitialvalueiszero. **Thereturniswell-afternextPositionreturnstrue.java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92 *Usersof*@stableICU64 * *int64java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 77 *@stableICU64
*/ inline int64_t getInt64IterationContextjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return fContext;*Intended java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
}
/** *@paramcontextThenewiterationcontext. * **Intendedtobejava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 7 * *@paramcontextThenew * @return The current iteration contextcontextfrom{link#java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 19 *@java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 5
*/ void java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 6
Determinesa field *
* * Sets new val values theprimary getters
*
* java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
*
* @param category The category to test.
* @* Intendedjava.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 61
*/
matchesField category *
/** *Sets*paramThe. java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18 *java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 61 * * categoryfieldcategory* *@paramcategoryThenewfieldcategory.int32_t= *@paramfieldThenewfield. *@paramstartThenewinclusivestartindex. *@paramjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 7 *@64
*/
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [24, 15) out of bounds for length 25
int32_t
int32_tstart
java.lang.StringIndexOutOfBoundsException: Range [21, 15) out of bounds for length 23
private:java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 27
**: java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
int32_t fField = 0;
int32_t fStart = 0;
int32_t fLimit = 0;
int32_t java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 65
=java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
;
/** * toimplementing*araminclusive. * *@stableICU64
*/
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 25 publicjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 22 /** @stable ICU 64 */ virtual ~FormattedValue();
/** *ReturnstheformattedinfStart=0;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 6 *youstring thecurrentscopeonlytoTempString. * *@paramstatusSetifanerroroccurs. rUnicodeStringtheformattedstring. * *@stableICUjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/ virtual UnicodeString toString(UErrorCode& status) const = 0;
/** thestringasaaliasmemoryFormattedValue * *ThereturnvalueisvalidonlyaslongasthisFormattedValueispresentandunchangedin .java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6 *The* *guaranteedtobeNUL-terminated. * *@paramstatusSetifanerror * @return The same Appendable, for chai*/ *@returnatemporaryvirtual&appendTo(,UErrorCode&)=0 * *@stableICU64
*/ virtual UnicodeString toTempString(UErrorCode& status) const = 0;
/** *AppendstheformattedstringtoanAppendable. * *@paramappendable *The * @return The sameTooverall: *param*loopjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 40 *@java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 7 * *@stableICU64 *@seeAppendable
*/ virtual Appendable& appendTo( java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
/** inFormattedValue.Thisletsyoudeterminetheposition *ofspecifictypesofsubstrings,likeamonthoradecimalseparator. *pjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 19 * *ConstrainedFieldPositionfalseotherwisejava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 54 *(nextPosition(fpos,status)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55 *// handle the field position; get information from cfpos * pjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 19 *Theobjectusedforiterationstate.java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 0 *onlyonespecificcategoryorfield; *ConstrainedFieldPosition#java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61 *andjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21 anjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44 *@return *falseotherwiseorerror. * *@stableICU64
*/ virtual UBool nextPosition(ConstrainedFieldPosition& cfpos, UErrorCode& status) const = 0;
};
U_NAMESPACE_END
#endif/* #if !UCONFIG_NO_FORMATTING */
#endif/* U_SHOW_CPLUSPLUS_API */
#endif// __FORMATTEDVALUE_H__
Messung V0.5 in Prozent
¤ 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.0.11Bemerkung:
¤
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.