Technical Keeda - Let's Make Better Technical Contents

Getting started

In this java tutorial, You will learn how to use String.charAt(int index) method. This method, Returns the char value at the specified index. An index ranges from 0 to length() - 1.
In this java tutorial, You will learn how to use codePointAt(int index) method of String class. This method, Returns the character (Unicode code point) at the specified index. The index refers to char values (Unicode code units) and ranges from 0 to length() - 1. If the char value specified at the given index is in the high-surrogate range, the following index is less than the length of this String, and the char value at the following index is in the low-surrogate range, then the supplementary code point corresponding to this surrogate pair is returned. Otherwise, the char value at the given index is returned.
In this java tutorial, You will learn how to use codePointBefore(int index) method of String class. This method, Returns the character (Unicode code point) before the specified index. The index refers to char values (Unicode code units) and ranges from 1 to length. If the char value at (index - 1) is in the low-surrogate range, (index - 2) is not negative, and the char value at (index - 2) is in the high-surrogate range, then the supplementary code point value of the surrogate pair is returned. If the char value at index - 1 is an unpaired low-surrogate or a high-surrogate, the surrogate value is returned.
In this java tutorial, You will learn how to use intValue() method of Short class. This method, Returns the value of this Short as an int. This method returns the numeric value represented by this object after conversion to type int.
In this java tutorial, You will learn how to use longValue() method of Short class. This method, Returns the value of this Short as a long. This method returns the numeric value represented by this object after conversion to type long.
In this java tutorial, You will learn how to use parseShort(String s) method of Short class. This method, Parses the string argument as a signed decimal short. The characters in the string must all be decimal digits, except that the first character may be an ASCII minus sign '-' ('\u002D') to indicate a negative value or an ASCII plus sign '+' ('\u002B') to indicate a positive value. The resulting short value is returned, exactly as if the argument and the radix 10 were given as arguments to the parseShort(java.lang.String, int) method.
In this java tutorial, You will learn how to use parseShort(String s, int radix) method of Short class. This method, Parses the string argument as a signed short in the radix specified by the second argument. The characters in the string must all be digits, of the specified radix (as determined by whether Character.digit(char, int) returns a nonnegative value) except that the first character may be an ASCII minus sign '-' ('\u002D') to indicate a negative value or an ASCII plus sign '+' ('\u002B') to indicate a positive value. The resulting short value is returned.
In this java tutorial, You will learn how to use reverseBytes(short i) method of Short class. This method, Returns the value obtained by reversing the order of the bytes in the two's complement representation of the specified short value. This method returns the value obtained by reversing (or, equivalently, swapping) the bytes in the specified short value.
In this java tutorial, You will learn how to use shortValue() method of Short class. This method, Returns the value of this Short as a short. This method returns the numeric value represented by this object after conversion to type short.
In this java tutorial, You will learn how to use toString() method of Short class. This method, Returns a String object representing this Short's value. The value is converted to signed decimal representation and returned as a string, exactly as if the short value were given as an argument to the toString(short) method.