Java StringBuffer offsetByCodePoints(int index, int codePointOffset) method returns the index of a character that is offset from the given index by the specified code points…. [Read More]
Java StringBuffer charAt()
Java StringBuffer charAt() method returns the character present at the given index. In this tutorial, we will discuss the charAt() method with examples. Syntax of… [Read More]
Java StringBuffer ensureCapacity()
Java StringBuffer ensureCapacity() method ensures that specified minimum capacity is maintained. If the current capacity is less than the specified minimum capacity then the capacity… [Read More]
Java StringBuffer capacity()
Java StringBuffer capacity() method returns the current capacity of StringBuffer object. In this tutorial, we will discuss the capacity() method in detail with the help of… [Read More]
Java StringBuffer toString()
Java StringBuffer toString() method returns the string representation of this character sequence. An object of StringBuffer class represents a character sequence. The toString() method converts… [Read More]
Java StringBuffer getChars()
In this guide, we will discuss Java StringBuffer getChars() method with examples. Syntax of getChars() method //it will copy the chars from index 1 to… [Read More]
Java StringBuffer indexOf()
Java StringBuffer indexOf() method returns the first occurrence of the given string in this sequence. In this guide, we will discuss indexOf() method with examples…. [Read More]
Java StringBuffer lastIndexOf()
Java StringBuffer lastIndexOf() method returns the index of last occurrence of the given string in this sequence. In this tutorial, we will discuss the lastIndexOf()… [Read More]
Java StringBuffer length()
Java StringBuffer length() method returns the length of the given sequence. The StringBuffer instance represents a character sequence, the length() method returns the total number… [Read More]
Java StringBuffer trimToSize()
Java StringBuffer trimToSize() method is used to reduce the capacity of StringBuffer instance, if possible. This method checks for non-utilized allocated space, it frees up… [Read More]
Java StringBuffer delete()
Java StringBuffer delete() method is used to delete a part of the string. A StringBuffer instance represents a character sequence. We can delete a portion… [Read More]
Java StringBuffer insert()
Java StringBuffer insert() method is used to insert the given element at the specified position in this character sequence. Syntax of insert() method //insert string “hello”… [Read More]
Java Math.copySign() Method
Java Math.copySign() method returns the first argument with the sign of second argument. In simple words, it copies the sign of second argument and replaces… [Read More]
Java Math.ceil() Method
Java Math.ceil() method returns the closest integer value, which is greater than or equal to the given value. For example, Math.ceil(9.9) would return 10. In… [Read More]
Java Math.signum() Method
Java Math.signum() method returns the signum function of passed argument. If the argument is zero, it returns zero. If argument is negative, it returns -1.0…. [Read More]
- « Previous Page
- 1
- …
- 5
- 6
- 7
- 8
- 9
- …
- 41
- Next Page »