DurchflusstabelleFactory - GroovyClassLoader-Demo





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

9
Date Submitted Thu. Mar. 2nd, 2006 2:08 AM
Revision 1
Beginner depsypher
Tags Java
Comments 0 comments
A utility class that gets the MD5 hash of an input stream. Also includes a method for converting byte array to hex-formatted string.
8
Date Submitted Thu. Mar. 2nd, 2006 2:28 AM
Revision 1
Beginner depsypher
Tags Java
Comments 0 comments
Read a eight bytes in little endian order from the given InputStream and create a long out of them.
8
Date Submitted Mon. Aug. 7th, 2006 4:48 PM
Revision 1
Scripter bertheymans
Tags Date | Java | Time
Comments 0 comments
If you only want to compare yyyy-mm-dd you can use the java.sql.Date class, the valueOf method does the trick. It's perfectly safe as the sql Date class is a subclass of the Date class.

Check out the docs here for more detail.

enjoy
9
Date Submitted Wed. Dec. 27th, 2006 9:40 AM
Revision 1
Scripter bertheymans
Tags Java | List | Set | uniqueness
Comments 2 comments
This is a very convenient way to remove all doubles from a List in Java. The only prerequisite is that the elements in the list have proper equals and hashCode methods.

It work by using the constructor of a Set that takes a Collection as an argument.

I poured the snippet in a little program so can run it straight away.
1
Date Submitted Sun. Mar. 4th, 2007 12:53 PM
Revision 1
Helper BerndSchiffer
Tags dsl | groovy | properties
Comments 0 comments
This is an example from practice. The domain is a whater flow messure system. I wrote a blog entry where I fully described the evolution of this class - in german.
1
Date Submitted Fri. Apr. 13th, 2007 11:50 AM
Revision 1
Helper BerndSchiffer
Tags conway | groovy
Comments 0 comments
Conway's Game of Life - a solution for GroovyQuiz.com. You can download all of the sources and an executable jar.
2
Date Submitted Thu. Nov. 15th, 2007 2:28 PM
Revision 1
Helper BerndSchiffer
Tags groovy
Comments 1 comments
Answer to a groovier solution to Hamlet D'Arcy's Rot13 algorithm.
3
Date Submitted Thu. Nov. 15th, 2007 2:37 PM
Revision 1
Helper BerndSchiffer
Tags groovy
Comments 1 comments
Answer to a groovier solution to Hamlet D'Arcy's Rot13 algorithm. This is the refactored version with less redundance.
1
Date Submitted Fri. Jan. 4th, 2008 4:47 PM
Revision 1
Helper BerndSchiffer
Tags groovy
Comments 0 comments
WeatherMunger Kata 1 (not DRY)
1
Date Submitted Fri. Jan. 4th, 2008 4:49 PM
Revision 1
Helper BerndSchiffer
Tags groovy
Comments 0 comments
WeatherMunger Kata 1 (not DRY)