samples/reentrant/test/org/apidesign/reentrant/CriticalSectionReentrantImmutableTest.java
changeset 114 c479228609ea
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/samples/reentrant/test/org/apidesign/reentrant/CriticalSectionReentrantImmutableTest.java	Sat Jun 14 09:54:39 2008 +0200
     1.3 @@ -0,0 +1,13 @@
     1.4 +package org.apidesign.reentrant;
     1.5 +
     1.6 +public class CriticalSectionReentrantImmutableTest extends CriticalSectionBase {
     1.7 +    @Override
     1.8 +    protected boolean reentrantJustOnce() {
     1.9 +        return true;
    1.10 +    }
    1.11 +    
    1.12 +    @Override
    1.13 +    protected CriticalSection<Integer> create() {
    1.14 +        return new CriticalSectionReentrantImmutable<Integer>();
    1.15 +    }
    1.16 +}
    1.17 \ No newline at end of file