Tag Archives: boolean array

Unknown Java Features Part 1: BitSet

BitSet – the holy grail of working with bits What does it solve? java.util.BitSet solves the memory consumption of boolean[]. Adding a tiny CPU overhead. And offering a lot of helpful methods. It’s available since Java 1.0. Boolean and memory in detail … Continue reading

Posted in Unknown feature | Tagged , , , , , , , | 2 Comments