io.continual.services.model.core.ModelObjectAndPath Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of continualModel Show documentation
Show all versions of continualModel Show documentation
Continual's modeling library.
package io.continual.services.model.core;
import io.continual.util.naming.Path;
public interface ModelObjectAndPath
{
Path getPath ();
T getObject ();
static ModelObjectAndPath from ( final Path p, final T o )
{
return new ModelObjectAndPath ()
{
@Override
public Path getPath () { return p; }
@Override
public T getObject () { return o; }
};
}
}