com.natpryce.makeiteasy.sequence
Class ElementsSequence<T>

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

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


Constructor Summary
ElementsSequence(Iterable<T> firstElements, Iterable<T> nextElements)
           
 
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

ElementsSequence

public ElementsSequence(Iterable<T> firstElements,
                        Iterable<T> nextElements)
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.