Class ReadWriteLockDecorator

java.lang.Object
com.globalmentor.collections.ReadWriteLockDecorator
All Implemented Interfaces:
ReadWriteLock
Direct Known Subclasses:
DecoratorReadWriteLockCollection, DecoratorReadWriteLockMap

public class ReadWriteLockDecorator extends Object implements ReadWriteLock
A read/write lock that decorates another read/write lock.
Author:
Garret Wilson
  • Constructor Details

    • ReadWriteLockDecorator

      public ReadWriteLockDecorator(ReadWriteLock readWriteLock)
      Read write lock constructor.
      Parameters:
      readWriteLock - The lock for controlling access to the properties.
      Throws:
      NullPointerException - if the given lock is null.
  • Method Details