Date Parse
1
Conexion de una base de datos de PostgreSql 8.2 a Java
2
Search file directory (recursive method) with java language
2
Convert InputStream to byte[]
2
Convert java.awt.Canvas to java.awt.image.BufferedImage
6
Snippet for display one frame in full screen mode.
5
6
Convert
java.awt.Canvas to java.awt.image.BufferedImage or java.awt.image.Image
java.awt.Canvas to java.awt.image.BufferedImage or java.awt.image.Image
5
Optimized way to calculate age from timestamp,
the idea is not to use date() call at all if possible.
the idea is not to use date() call at all if possible.
0
A GroovyClassLoader demonstration. The given domain is a german water flow meter system; I think, you shouldn't be able to understand the domain, but you should be able to understand, how to load a Groovy class in Java via a GroovyClassLoader.
9
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.
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.









