Arrays of Boolean values in Java
May. 17th, 2019 07:36 amI have Java methods taking Boolean arguments and I want to test every combination of those. To have our testing framework try those combinations I need to provide it with a two-dimensional array of the n-bit Boolean values. The code I once had is, ( more Java code. ) I thought that was quite neat. However, with advances in both Java and Google's Guava one can now replace all that with, ( less Java code. ) Admittedly I doubt that either is easily read.