Package dev.enola.thing.java
Class TBFChain
java.lang.Object
dev.enola.thing.java.TBFChain
- All Implemented Interfaces:
TBF
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<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.boolean
-
Constructor Details
-
TBFChain
-
-
Method Details
-
create
-
create
public <T extends Thing,B extends Thing.Builder<T>> B create(Class<B> builderInterface, Class<T> thingInterface) -
create
public <T extends Thing,B extends Thing.Builder<T>> B create(Class<B> builderInterface, Class<T> thingInterface, int expectedSize) Description copied from interface:TBFCreates 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). -
handles
-