example.fruit.oldskool
Class BananaBuilder

java.lang.Object
  extended by example.fruit.oldskool.BananaBuilder
All Implemented Interfaces:
Builder<Banana>

public class BananaBuilder
extends Object
implements Builder<Banana>


Method Summary
static BananaBuilder aBanana()
           
 Banana build()
           
 BananaBuilder but()
           
 BananaBuilder withCurve(double curve)
           
 BananaBuilder withRipeness(double ripeness)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.