samples/reentrant/test/org/apidesign/reentrant/CriticalSectionReentrantImmutableTest.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 03 Apr 2020 16:32:36 +0200
changeset 416 9ed8788a1a4e
permissions -rw-r--r--
Using HTTPS to download the libraries
     1 package org.apidesign.reentrant;
     2 
     3 public class CriticalSectionReentrantImmutableTest extends CriticalSectionBase {
     4     @Override
     5     protected boolean reentrantJustOnce() {
     6         return true;
     7     }
     8     
     9     @Override
    10     protected CriticalSection<Integer> create() {
    11         return new CriticalSectionReentrantImmutable<Integer>();
    12     }
    13 }