Contact at mumbai.academics@gmail.com or 8097636691
Responsive Ads Here

Friday, 6 July 2018

Guava - Primitive Utilities



Guava - Primitive Utilities

As primitive types of Java cannot be used to pass in generics or in collections as input, Guava provided a lot of Wrapper Utilities classes to handle primitive types as Objects. Following is the list of useful primitive processing utilities −
Sr.NoUtility name & Description
1Bytes
Utility for primitive byte.
2Shorts
Utility for primitive short.
3Ints
Utility for primitive int.
4Longs
Utility for primitive long.
5Floats
Utility for primitive float.
6Doubles
Utility for primitive double.
7Chars
Utility for primitive char.
8Booleans
Utility for primitive boolean.

No comments:

Post a Comment