samples/reentrant/test/org/apidesign/reentrant/CriticalSectionReentrantForLoopTest.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 30 Oct 2014 21:30:10 +0100
changeset 409 40cabcdcd2be
permissions -rw-r--r--
Updating to NBMs from NetBeans 8.0.1 as some of them are required to run on JDK8
     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 }