org.qi4j.api.dataset.iterable
Class IterableDataSet<T>

java.lang.Object
  extended by org.qi4j.api.dataset.iterable.IterableDataSet<T>
All Implemented Interfaces:
DataSet<T>

public class IterableDataSet<T>
extends java.lang.Object
implements DataSet<T>

TODO


Constructor Summary
IterableDataSet(java.lang.Iterable<T> iterable)
           
 
Method Summary
 DataSet<T> constrain(Specification<T> selection)
           
 Query<T> newQuery()
           
<U> DataSet<U>
project(Function<T,U> conversion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IterableDataSet

public IterableDataSet(java.lang.Iterable<T> iterable)
Method Detail

constrain

public DataSet<T> constrain(Specification<T> selection)
Specified by:
constrain in interface DataSet<T>

project

public <U> DataSet<U> project(Function<T,U> conversion)
Specified by:
project in interface DataSet<T>

newQuery

public Query<T> newQuery()
Specified by:
newQuery in interface DataSet<T>