Package dev.enola.thing.java
Interface TBF
- All Known Implementing Classes:
ProxyTBF,TBFChain,TestSomethingTBF
public interface TBF
TBF is a Thing Builder Factory.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Thing.Builder<IImmutableThing> create()default Thing.Builder<IImmutableThing> create(int expectedSize) <T extends Thing,B extends Thing.Builder<T>>
B<T extends Thing,B extends Thing.Builder<T>>
BCreates a newThing.Builderinstance of (Java) type T.default booleanboolean
-
Method Details
-
create
-
create
<T extends Thing,B extends Thing.Builder<T>> B create(Class<B> builderInterface, Class<T> thingInterface, int expectedSize) Creates a newThing.Builderinstance of (Java) type T.You would typically not use this directly, but via a generated method on the respective thing interface, e.g.
TestSomething.builder(TBF). -
create
<T extends Thing,B extends Thing.Builder<T>> B create(Class<B> builderInterface, Class<T> thingInterface) -
create
-
create
-
handles
-
handles
-