All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xqbase.util.concurrent.LockMap Maven / Gradle / Ivy

There is a newer version: 0.2.18
Show newest version
package com.xqbase.util.concurrent;

public class LockMap extends CountMap {
	private static final long serialVersionUID = 1L;

	private boolean fair;

	public LockMap() {
		this(false);
	}

	public LockMap(boolean fair) {
		this.fair = fair;
	}

	@Override
	protected CountLock newCount() {
		return new CountLock(fair);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy