public interface IExtensibleFluentApi<T>
Implement the basic functionality into an abstract class (e.g. MyBuilder).
public abstract class MyBuilder
with a method
@SuppressWarnings("unchecked")
@Override
public T self()
{
return (T)this;
}
and make the return type of all fluent API methods T.
Modifier and Type | Method and Description |
---|---|
T |
self() |
T self()