Using a JGroups ReplicatedHashtable from Groovy





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

« Previous 1 2 3 Next »
1
Date Submitted Thu. Apr. 12th, 2007 11:23 AM
Revision 1
Beginner vbuskirk
Tags dsl | FSM | groovy | Machines | State
Comments 1 comments
/**
* GOAL: Write a quick-and-dirty DSL in Groovy that emulates Bruce Tate's
* example "acts_as_statemachine" Ruby code at
* http://www-128.ibm.com/developerworks/java/library/j-cb03137/index.html,
* within 20 minutes or less (i.e. steer clear of MOP-magic engineering ;).
*
* For more context, see the Apr'07 "Symbols" thread on the groovy-user mailing
* list.
*/
5
Date Submitted Tue. Oct. 17th, 2006 3:00 PM
Revision 1
Helper glaforge
Tags dsl | groovy
Comments 0 comments
SQL-like DSL for finding classes and methods
10
Date Submitted Fri. Oct. 20th, 2006 7:02 AM
Revision 1
Helper glaforge
Tags groovy
Comments 0 comments
Sudoku solver in Groovy.
7
Date Submitted Fri. Oct. 20th, 2006 3:37 PM
Revision 1
Helper glaforge
Tags ant | groovy
Comments 0 comments
This example shows a build script written in Groovy using the AntBuilder.
No more angle bracket to bother you!
6
Date Submitted Fri. Feb. 9th, 2007 7:36 AM
Revision 1
Helper glaforge
Tags groovy
Comments 0 comments
Recursively iterate over folders and files to check for differences.
7
Date Submitted Thu. Mar. 22nd, 2007 4:30 PM
Revision 1
Helper glaforge
Tags google | groovy
Comments 1 comments
Using the SwingX JXMapViewer and using a special tile factory to retrieve Google Maps tiles, from a Groovy SwingBuilder.
2
Date Submitted Thu. Apr. 12th, 2007 1:42 PM
Revision 1
Helper esumerfd
Tags dsl | FSM | groovy | Machines | State
Comments 1 comments
Try to create a DSL for a finite state machine.

Inspired by Chris vanBuskirk version on this site and the Ruby article at

http://www-128.ibm.com/developerworks/java/library/j-cb03137/index.html
2
Date Submitted Sun. Apr. 29th, 2007 9:58 PM
Revision 1
Helper esumerfd
Tags "Sieve | Eratosthenes" | groovy | of | primes
Comments 0 comments
A possible implementation of the Sieve of Eratosthenes for generating prime numbers below some limit.
5
Date Submitted Sun. Apr. 29th, 2007 10:02 PM
Revision 1
Helper esumerfd
Tags "Sieve | Eratosthenes" | groovy | of | primes
Comments 0 comments
Generate prime numbers blow some limit using the Sieve of Eratosthenes algorithm. This snippet uses some object abstractions to simplify the algorithm.
5
Date Submitted Sun. Apr. 29th, 2007 10:04 PM
Revision 1
Helper esumerfd
Tags "Sieve | Eratosthenes" | groovy | of | primes
Comments 0 comments
Generate prime numbers below some limit. This snippet uses groovy categories to locate the appropriate methods in common classes.
« Previous 1 2 3 Next »