org.fiolino.common.container.ReadOnlyContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
General structure to easily create dynamic logic via MethodHandles and others.
package org.fiolino.common.container;
/**
* @author kuli
*/
public interface ReadOnlyContainer {
/**
* Gets the value for a specific type, if available.
*
* @return The element as an Optional
*/
E get(Selector selector);
}