example.fruit
Class FruitBowl

java.lang.Object
  extended by example.fruit.FruitBowl

public class FruitBowl
extends Object

An example of how to define builders for properties that are collections. Unlike the AppleCart, a FruitBowl can contain any kind of fruit.

See Also:
example.fruit.makeiteasy.FruitBowlMaker}

Constructor Summary
FruitBowl(Iterable<? extends Fruit> contents)
           
 
Method Summary
 boolean isEmpty()
           
 Fruit takeOne()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FruitBowl

public FruitBowl(Iterable<? extends Fruit> contents)
Method Detail

isEmpty

public boolean isEmpty()

takeOne

public Fruit takeOne()


Copyright © 2010. All Rights Reserved.