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

java.security.PermissionCollection Maven / Gradle / Ivy

package java.security;

import java.util.Enumeration;
import java.util.NoSuchElementException;

public abstract class PermissionCollection implements java.io.Serializable {
	private volatile boolean readOnly;

	public abstract void add(Permission permission);

	public abstract boolean implies(Permission permission);

	public abstract Enumeration elements();

	public void setReadOnly() {
		readOnly = true;
	}

	public boolean isReadOnly() {
		return readOnly;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy