@Deprecated
public class ReadWriteLockKey<T>
extends Object
Represents a key that is used by ReadWriteLockRegistry. T must also be immutable and properly implement the equals and hashCode methods.
ReadWriteLockRegistry
Constructor and Description |
---|
ReadWriteLockKey(T key,
boolean writeLock)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
T |
getKey()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isWriteLock()
Deprecated.
|
public ReadWriteLockKey(T key, boolean writeLock)
public boolean equals(Object obj)
equals
in class Object
public T getKey()
public int hashCode()
hashCode
in class Object
public boolean isWriteLock()