author | Jaroslav Tulach <jtulach@netbeans.org> |
Sat, 14 Jun 2008 09:54:36 +0200 | |
changeset 111 | 3905a2e66b9b |
permissions | -rw-r--r-- |
jtulach@111 | 1 |
package org.apidesign.reentrant; |
jtulach@111 | 2 |
|
jtulach@111 | 3 |
import java.util.Collection; |
jtulach@111 | 4 |
|
jtulach@111 | 5 |
public interface CriticalSection<T extends Comparable<T>> { |
jtulach@111 | 6 |
|
jtulach@111 | 7 |
public void assignPilot(T pilot); |
jtulach@111 | 8 |
public int sumBigger(Collection<T> args); |
jtulach@111 | 9 |
public int getCount(); |
jtulach@111 | 10 |
} |