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

commons.util.Observable Maven / Gradle / Ivy

/* 
 * Copyright (c) 2017 Georgi Pavlov ([email protected]).
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the MIT license which accompanies 
 * this distribution, and is available at 
 * https://github.com/tengia/oauth-2/blob/master/LICENSE
 */
package commons.util;

import java.util.function.Consumer;

public interface Observable {

	T attach(T observer);

	void detach(T observer);

	void notify(Consumer algorithm);
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy