Code example for ReentrantReadWriteLock

Methods: getReadLockCount, hashCode, isWriteLocked