com.consultoriajava.browneater
Interface BrownOriginator

All Known Implementing Classes:
BigFatBrowner, Browner, MexicoDFBrowner, MotherFuckerBrowner, TajMajalBrowner

public interface BrownOriginator

A BrownOriginator is the source of a Brown, a BrownOriginator can generate browns and return them to those who work arround him. A BrownOriginator also has the ability to take a given Brown and expand it to limits out of reach to any standard person.

Author:
consultoriajava.com

Method Summary
 Brown expandBrown(Brown inputBrown)
          Allows for the expansion of a brown.
 Brown generateBrown(java.lang.String description, int size)
          This method is invoked everytime a BrownOriginator creates a Brown
 

Method Detail

generateBrown

Brown generateBrown(java.lang.String description,
                    int size)
                    throws BrownerNotTrusted
This method is invoked everytime a BrownOriginator creates a Brown

Parameters:
description - The description of the Brown to be generated by the BrownGenerator.
size - The size of the Brown beeing created by this Originator
Returns:
The mercylessly generated brown
Throws:
BrownerNotTrusted

expandBrown

Brown expandBrown(Brown inputBrown)
Allows for the expansion of a brown.

Parameters:
inputBrown - The brown to be expanded
Returns:
The expanded brown