prompto.value.IContainer Maven / Gradle / Ivy
The newest version!
package prompto.value;
import prompto.error.PromptoError;
import prompto.runtime.Context;
public interface IContainer extends IIterable
{
long getLength();
default boolean isEmpty() { return getLength()==0; }
boolean hasItem(Context context, IValue iValue) throws PromptoError;
@Override
T getItem(Context context, IValue item) throws PromptoError;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy