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