Tag Archives: unknown features

Unknown Java Features Part 2: TimeUnit

Simple Way to use different time units TimeUnit is the simplest way to work with different time units since Java 5. Aren’t you annoyed about writing all the time how to convert e.g. minutes to milliseconds? Like “5 * 60 … Continue reading

Posted in common practice, Java, Unknown feature | Tagged , | Leave a comment

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 , , , , , , , | 3 Comments