com.natpryce.makeiteasy.sequence
Class ElementsSequence<T>
java.lang.Object
com.natpryce.makeiteasy.sequence.ElementsSequence<T>
- All Implemented Interfaces:
- Donor<T>
public class ElementsSequence<T>
- extends Object
- implements Donor<T>
|
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 |
ElementsSequence
public ElementsSequence(Iterable<T> firstElements,
Iterable<T> nextElements)
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.