public final class Lock extends Object
Constructor and Description |
---|
Lock() |
Modifier and Type | Method and Description |
---|---|
boolean |
canSwitch() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
readLock() |
void |
readUnlock() |
void |
switchToReadLock() |
String |
toString() |
void |
writeLock() |
void |
writeUnlock() |