The Data Pile: Using Java Enumerations
Filed Under (c0ding, enum, java) by jfrey on 04-11-2010
This article shows a basic implementation of a Java enumeration type that you can use to do a switch on Strings for example.
coffeecrew – bits'n'beans | booting version 3Welcome to the coffeecrew!On this page you'll find updates and infos regarding coffeecrew services as well as the aggregated output of our members blogs. Enjoy your stay! Please leave your comments on the originating blog by clicking on the post's title - Thank you. The Data Pile: Using Java EnumerationsFiled Under (c0ding, enum, java) by jfrey on 04-11-2010This article shows a basic implementation of a Java enumeration type that you can use to do a switch on Strings for example. The Data Pile: Programming with the APR – Using APR HashTablesFiled Under (APR, c, c0ding) by jfrey on 02-11-2010This short article will show how to use the Apache Portable Runtime (APR) with it’s built in hashtable. Continue reading: Programming with the APR – Using APR HashTables The Data Pile: Programming with the APR – Using MD5Filed Under (APR, c, c0ding) by jfrey on 02-11-2010This article intends to show how to basically use the MD5 hashing algorithm that ships with the Apache Portable Runtime (APR) library. The Data Pile: Programming with the APR – Using apr_getoptFiled Under (APR, c, c0ding) by jfrey on 02-11-2010This article will show you how to use the built in command line parser that comes with the APR. There will be two source files, one showing you how to use apr_getopt just to parse simple, single options and the other peace of source will show you how to use it with so called long options. You can download the single option parser here and the long options parser here. Continue reading: Programming with the APR – Using apr_getopt The Data Pile: Programming with the APR – Persisting informationFiled Under (APR, c, c0ding) by jfrey on 01-11-2010This article will show you how to store information in the database that comes with the Apache Portable Runtime (APR). Basically a simple struct data type is persisted into that database. You can download the code here. Continue reading: Programming with the APR – Persisting information The Data Pile: Programming with the APRFiled Under (APR, c, c0ding) by jfrey on 01-11-2010This article will give you an introduction of how to program with the Apache Portable Runtime (APR). It illustrates a simple command line program. |
|