*/
public RWStripedHashSet(int capacity) {
super(capacity);
locks = new Lock[capacity];
for(int j = 0; j < locks.length; j++) {
locks[j] = new ReentrantLock();
}
ReadWriteLock rwLock = new ReentrantReadWriteLock();
readLock = rwLock.readLock();
writeLock = rwLock.writeLock();
}