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.No | Utility name & Description |
---|---|
1 | Bytes Utility for primitive byte. |
2 | Shorts Utility for primitive short. |
3 | Ints Utility for primitive int. |
4 | Longs Utility for primitive long. |
5 | Floats Utility for primitive float. |
6 | Doubles Utility for primitive double. |
7 | Chars Utility for primitive char. |
8 | Booleans Utility for primitive boolean. |
Next Topic:-Click Here
Pingback: Guava - Bytes Class - Adglob Infosystem Pvt Ltd
Pingback: Guava - Shorts Class - Adglob Infosystem Pvt Ltd
Pingback: Guava - Booleans Class - Adglob Infosystem Pvt Ltd
Pingback: Guava - Doubles Class - Adglob Infosystem Pvt Ltd
Pingback: Guava - Floats Class - Adglob Infosystem Pvt Ltd
Pingback: Guava - Ints Class - Adglob Infosystem Pvt Ltd
Pingback: Guava - Longs Class - Adglob Infosystem Pvt Ltd