No Image

Java Tip 135: Layer and compare property files

28 2 月, 2003 Paul E. Baclace 0

Property files offer an elegant solution for storing program settings loaded at runtime. The elegance comes from the hierarchical naming scheme, the ability to override settings on the command line, and the idea of default properties. Earlier generatio…

No Image

Java Tip 135: Layer and compare property files

28 2 月, 2003 Paul E. Baclace 0

Property files offer an elegant solution for storing program settings loaded at runtime. The elegance comes from the hierarchical naming scheme, the ability to override settings on the command line, and the idea of default properties. Earlier generatio…

No Image

Java Tip 135: Layer and compare property files

28 2 月, 2003 Paul E. Baclace 0

Property files offer an elegant solution for storing program settings loaded at runtime. The elegance comes from the hierarchical naming scheme, the ability to override settings on the command line, and the idea of default properties. Earlier generatio…

No Image

Java Tip 133: More on typesafe enums

24 1 月, 2003 Philip Bishop 0

Many Java developers, including myself, like using the typesafe constant idiom because it provides cleaner code by removing the need to validate whether a constant value is valid or in range. I don’t detail too much here, as the idiom is well documente…

No Image

Java Tip 133: More on typesafe enums

24 1 月, 2003 Philip Bishop 0

Many Java developers, including myself, like using the typesafe constant idiom because it provides cleaner code by removing the need to validate whether a constant value is valid or in range. I don’t detail too much here, as the idiom is well documente…

No Image

Java Tip 133: More on typesafe enums

24 1 月, 2003 Philip Bishop 0

Many Java developers, including myself, like using the typesafe constant idiom because it provides cleaner code by removing the need to validate whether a constant value is valid or in range. I don’t detail too much here, as the idiom is well documente…

No Image

Java Tip 132: The taming of the thread

15 11 月, 2002 Roy M. Pueschel 0

Threads can be nasty beasts. This is partly attributed to their delicate nature. Threads can die. If the causes of thread death are not in your code, then MutableThread may keep your code running. This article explores a solution using an object-orient…