example.fruit.oldskool
Class BananaBuilder
java.lang.Object
example.fruit.oldskool.BananaBuilder
- All Implemented Interfaces:
- Builder<Banana>
public class BananaBuilder
- extends Object
- implements Builder<Banana>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
aBanana
public static BananaBuilder aBanana()
build
public Banana build()
- Specified by:
build in interface Builder<Banana>
withRipeness
public BananaBuilder withRipeness(double ripeness)
withCurve
public BananaBuilder withCurve(double curve)
but
public BananaBuilder but()
Copyright © 2010. All Rights Reserved.