Guava – Primitive Utilities

  • Post author:
  • Post category:Guava
  • Post comments:7 Comments
primitive

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.

Next Topic:-Click Here

This Post Has 7 Comments

Leave a Reply