example.fruit
Class FruitBowl
java.lang.Object
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}
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FruitBowl
public FruitBowl(Iterable<? extends Fruit> contents)
isEmpty
public boolean isEmpty()
takeOne
public Fruit takeOne()
Copyright © 2010. All Rights Reserved.