Skip to content

Tag Archives: Guava-Functions

The lastIndexOf() method of Doubles Class in Guava library is used to find the last index of the given double value in a double array.… Read More
The join() method of Floats Class in the Guava library is used to combine or join all the given float values separated by a separator.… Read More
The toArray() method of Floats Class in the Guava library is used to convert the float values, passed as the parameter to this method, into… Read More
The toArray() method of Doubles Class in the Guava library is used to convert the double values, passed as the parameter to this method, into… Read More
The withKeyValueSeparator(char separator) method of Guava’s Splitter Class accepts a mandatory parameter separator and splits entries into keys and values using this separator. Syntax: public… Read More
The toArray() method of Bytes Class in the Guava library is used to convert the byte values, passed as the parameter to this method, into… Read More
The lastIndexOf() method of Bytes Class in Guava library is used to find the last index of the given byte value in a byte array.… Read More
The checkedAdd(long a, long b) is a method of Guava’s LongMath Class which accepts two parameters a and b, and returns their sum. Syntax: public… Read More
The lastIndexOf() method of Shorts Class in Guava library is used to find the last index of the given short value in a short array.… Read More
The join() method of Chars Class in the Guava library is used to combine or join all the given char values separated by a separator.… Read More
The contains() method of Floats Class in Guava library is used to check if a specified value is present in the specified array of float… Read More
The checkedMultiply(int a, int b) is a method of Guava’s IntMath Class which accepts two parameters a and b, and returns their product. Syntax: public… Read More
The join() method of Longs Class in the Guava library is used to combine or join all the given long values separated by a separator.… Read More
The checkedAdd(int a, int b) is a method of Guava’s IntMath Class which accepts two parameters a and b, and returns their sum. Syntax: public… Read More
The checkedMultiply(long a, long b) is a method of Guava’s LongMath Class which accepts two parameters a and b, and returns their product. Syntax: public… Read More