Mercurial > hg > blitz_condensed
view test/org/dancres/blitz/test/ManualReapEntry.java @ 3:d3ec5ebc3dba
Fix up a small race-condition and and a todo for thread-safety in MatchSetImpl.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 25 Apr 2009 08:38:27 +0100 |
parents | 3dc0c5604566 |
children |
line wrap: on
line source
package org.dancres.blitz.test; import net.jini.core.entry.Entry; public class ManualReapEntry implements Entry { public String rhubarb; public Integer count; public ManualReapEntry() { } public ManualReapEntry(String aString) { rhubarb = aString; count = new Integer(5); } public void init() { rhubarb = "blah"; count = new Integer(5); } public String toString() { return super.toString() + ", " + rhubarb + ", " + count; } }