author | Jaroslav Tulach <jtulach@netbeans.org> |
Sat, 14 Jun 2008 09:54:39 +0200 | |
changeset 114 | c479228609ea |
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 |
} |