English 中文(简体)
Guava - Primitive Utilities
  • 时间:2024-12-22

Guava - Primitive Utipties


Previous Page Next Page  

As primitive types of Java cannot be used to pass in generics or in collections as input, Guava provided a lot of Wrapper Utipties classes to handle primitive types as Objects. Following is the pst of useful primitive processing utipties −

Sr.No Utipty name & Description
1 Bytes

Utipty for primitive byte.

2 Shorts

Utipty for primitive short.

3 Ints

Utipty for primitive int.

4 Longs

Utipty for primitive long.

5 Floats

Utipty for primitive float.

6 Doubles

Utipty for primitive double.

7 Chars

Utipty for primitive char.

8 Booleans

Utipty for primitive boolean.

Advertisements