Skip to content

Tag Archives: Java-text package

The reset() method of java.text.CollationElementIterator class is used to reset the curser of the iterator to the beginning of the input string. Syntax: public void… Read More
The setdecomposition() method of java.text.Collator class is used to set the decomposition mode of this collator.Syntax:   public void setDecomposition(int decompositionMode) Parameter: This method takes the… Read More
The tertiaryOrder() method of java.text.CollationElementIterator class is used to provide the tertiary component of every collation element of CollationElementIterator object. Syntax: public static final short… Read More
The nextDouble(double, boolean) method of java.text.ChoiceFormat class is used to get the double value just greater than the passed double value if passed Boolean value… Read More
The previousDouble() method of java.text.ChoiceFormat class is used to get the double value just lesser than the passed double value. Syntax: public static final double… Read More
The nextDouble(double) method of java.text.ChoiceFormat class is used to get the double value just greater than the specified double value.  Syntax:   public static final double… Read More
The setChoices() method of java.text.ChoiceFormat class is used to set the new Choice item with a defined limit and format in Choiceformat object. Syntax: public… Read More
The format() method of java.text.ChoiceFormat class is used to get the appended string builder of the format value of particular limit value passed as parameter… Read More
The parse() method of java.text.ChoiceFormat class is used to get the limit value for particular format in ChoiceFormat object. Syntax: public Number parse(String text, ParsePosition… Read More
The getMaxExpansion() method of java.text.CollationElementIterator class is used to get the maximum exapansion that any specified sequence ending can reach.Syntax:   public int getMaxExpansion(int order) Parameter:… Read More
The getFormats() method of java.text.ChoiceFormat class is used to get the attached format to ChoiceFormat object in time of initialization. It provides the array of… Read More
The equals() method of java.text.ChoiceFormat class is used to compare between two ChoiceFormat objects and give the Boolean value regarding the comparison.Syntax:   public boolean equals(Object… Read More
The getLimits() method of java.text.ChoiceFormat class is used to get the attached limit to choice format object in time of initialization. It returns the array… Read More
The hashCode() method of java.text.ChoiceFormat class is used to get the hash code for choice format object. This hashcode value is returned as an integer.… Read More
The first() method of java.text.BreakIterator class is used to get the index of the first boundary.it always return the start index of first boundary.it provides… Read More