com.natpryce.makeiteasy
Class SameValueDonor<T>
java.lang.Object
com.natpryce.makeiteasy.SameValueDonor<T>
- All Implemented Interfaces:
- Donor<T>
public class SameValueDonor<T>
- extends Object
- implements Donor<T>
Always gives the sale 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 |
SameValueDonor
public SameValueDonor(T value)
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.