-2

How can a java.lang.Boolean be converted to a scala.Boolean?

There is a similar question which is specific to Spring and Swagger. My question is more generic and applicable in any circumstances.

Thank you in advance for your consideration and response.

Ramón J Romero y Vigil
  • 17,373
  • 7
  • 77
  • 125

1 Answers1

2

The Boolean.unbox method will convert to scala Boolean.

Ramón J Romero y Vigil
  • 17,373
  • 7
  • 77
  • 125