Since 5/5/2012 6:02:12 PM, lrn has written 1 articles and participated in 234 conversations. lrn signature: lrn
lrn's articles:
Items(1) /1
No generic enums ...227 (3/8/2005 8:12:22 PM) comp.lang.java.programmer Hi all. I was taking yet another look at generics, and noticed that enums cannot be generic. After all, the "enum" construct is syntactic sugar for the traditional type safe enum pattern, and with generics, ... Lasse
Test yourself now! (in idle banter)3230 (8/23/2008 4:21:11 PM) comp.lang.java.programmer I just made this up as a time filler: Can you see anything suspicious in the following Java source code without pasting it into an IDE or trying to compile it? Code starts after this colon: /* E... ram(2824)
Why such poor recursive behaviour?4633 (7/31/2008 8:01:37 AM) comp.lang.lisp I wonder why most functional programming languages fail so badly at what should be one of their primary main strengths: recursive functions. In the well-known benchmarking game called "The computer game shoot... namekuseijin(629)
How to sort a Set?4137 (7/23/2008 3:37:44 PM) comp.lang.java.programmer Hi, I have a Set of Strings for which I'd like to sort, so that when I iterate over the set, I'm doing so in sorted order. Hashtable> apps = getApps(); java.util.Set allowedApps = apps.keySet(... laredotornado(853)
String question #21937 (7/23/2008 9:59:17 AM) comp.lang.java.programmer Hello, Silly question, but if - internally speaking- the java compiler replace the "String" class with "StringBuffer", what is the real purpose of "String" ? (except shorter keyword and, may be, when who do st... stef.pellegrino(39)
Traveling salesman, idea, easy to program?7518 (7/15/2008 4:33:00 AM) comp.lang.java.programmer Besides my open source Class Viewer project I have a rep for throwing ideas out on Usenet, where I did that for years with math, argued with a lot of math people, and they hate me, but that's a side issue to th... jstevh(409)
Prefixes of regular expressions723 (6/29/2008 1:24:51 PM) comp.lang.java.programmer Hi all I was thinking about regular expressions, in the context of syntax checking in user interfaces. Example use case: I have a form field, with a regex to determine if its contents is valid. The user start... skissane(5)