Convertir la liste booléenne en Java primitive
Unfortunately, there's nothing in the Java platform that does this.
Btw, you also need to explicitly handle null elements in the Integer[] array
use external librarys.
coder