convex.core.data.IRefFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of convex-core Show documentation
Show all versions of convex-core Show documentation
Convex core libraries and common utilities
The newest version!
package convex.core.data;
/**
* Functional interface for operations on Cell Refs that may throw a
* MissingDataException
*
* In general, IRefFunction is used to provide a visitor for data objects containing nested Refs.
*/
@FunctionalInterface
public interface IRefFunction {
// Note we can't have a generic type parameter in a functional interface.
// So using a wildcard seems the best option?
public Ref> apply(Ref> t);
}