DecimalFormatclass SetPositivePrefix() method example. This example shows you how to use SetPositivePrefix() method.This method Set the positive prefix.
StringCharacterIterator class setText example. public void setText(String text) Reset this iterator to point to a new string. This package-visible method is used by other java.text classes that want to avoid allocating new StringCharacterIterator objects every time their setText method is called.
DecimalFormatclass SetParseBigDecimal() method example. This example shows you how to use SetParseBigDecimal() method.This method Sets whether the parse method returns BigDecimal
StringCharacterIterator class setIndex example. char setIndex(int position) Sets the position to the specified position in the text and returns that character.
DecimalFormatclass SetNegativeSuffix() method example. This example shows you how to use SetNegativeSuffix() method.This method Set the negative suffix.
DecimalFormatclass SetNegativePrefix() method example. This example shows you how to use SetNegativePrefix() method.This method Set the negative prefix.
StringCharacterIterator class previous example. char previous() Decrements the iterator's index by one and returns the character at the new index. If the current index is getBeginIndex(), the index remains at getBeginIndex() and a value of DONE is returned.
StringCharacterIterator class next example. char next() Increments the iterator's index by one and returns the character at the new index. If the resulting index is greater or equal to getEndIndex(), the current index is reset to getEndIndex() and a value of DONE is returned.
DecimalFormatclass SetMultiplier() method example. This example shows you how to use SetMultiplier() method.This method Sets the multiplier for use in percent, per mille, and similar formats.
StringCharacterIterator class last example. char last() Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty) and returns the character at that position.
DecimalFormatclass SetMinimumIntegerDigits() method example. This example shows you how to use SetMinimumIntegerDigits() method.This method Sets the minimum number of digits allowed in the integer portion of a number.
DecimalFormatclass SetMinimumFractionDigits() method example. This example shows you how to use SetMinimumFractionDigits() method.This method Sets the minimum number of digits allowed in the fraction portion of a number.
DecimalFormatclass SetMaximumIntegerDigits() method example. This example shows you how to use SetMaximumIntegerDigits() method.This method Sets the maximum number of digits allowed in the integer portion of a number.
DecimalFormatclass SetMaximumFractionDigits() method example. This example shows you how to use SetMaximumFractionDigits() method.This method Sets the maximum number of digits allowed in the fraction portion of a number.
StringCharacterIterator class getEndIndex example. int getEndIndex() Returns the end index of the text. This index is the index of the first character following the end of the text.
DecimalFormatclass SetCurrency() method example. This example shows you how to use SetCurrency() method.This method Sets the currency used by this number format when formatting currency values.
DecimalFormatclass SetDecimalSeparatorAlwaysShown() method example. This example shows you how to use SetDecimalSeparatorAlwaysShown() method.This method Allows you to set the behavior of the decimal separator with integers.
DecimalFormatclass SetDecimalFormatSymbols() method example. This example shows you how to use SetDecimalFormatSymbols() method.This method Sets the decimal format symbols, which is generally not changed by the programmer or user