samples/reentrant/test/org/apidesign/reentrant/CriticalSectionReentrantForLoopTest.java
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:54:37 +0200
changeset 112 64308321f7bd
permissions -rw-r--r--
Reentrant access examples rewritten to make a bit more sence
     1 package org.apidesign.reentrant;
     2 
     3 public class CriticalSectionReentrantForLoopTest extends CriticalSectionBase {
     4     @Override
     5     protected CriticalSection<Integer> create() {
     6         return new CriticalSectionReentrantForLoop<Integer>();
     7     }
     8 
     9     @Override
    10     protected boolean reentrantJustOnce() {
    11         return true;
    12     }
    13 }