com.natpryce.makeiteasy
Class SameValueDonor<T>

java.lang.Object
  extended by com.natpryce.makeiteasy.SameValueDonor<T>
All Implemented Interfaces:
Donor<T>

public class SameValueDonor<T>
extends Object
implements Donor<T>

Always gives the sale value.


Constructor Summary
SameValueDonor(T value)
           
 
Method Summary
 T value()
          Donate the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SameValueDonor

public SameValueDonor(T value)
Method Detail

value

public T value()
Description copied from interface: Donor
Donate the value.

Specified by:
value in interface Donor<T>
Returns:
the value donated


Copyright © 2010. All Rights Reserved.