pl.edu.agh.cast.data.model
Class ModelHelper
java.lang.Object
pl.edu.agh.cast.data.model.ModelHelper
public class ModelHelper
- extends Object
A helper class for manipulating basic model.
- Author:
- AGH CAST Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelHelper
public ModelHelper()
createElementIterable
public static <T extends IElement> Iterable<T> createElementIterable(Collection<T> collection)
- Creates a
IElementIterable
instance for elements from given Collection
.
- Type Parameters:
T
- type of elements- Parameters:
collection
- collection of elements
- Returns:
IElementIterable
over elements from collection
createDataSetIterable
public static <T extends IDataSet<?>> Iterable<T> createDataSetIterable(Collection<T> collection)
- Creates a
IDataSetIterable
instance for data sets from given Collection
.
- Type Parameters:
T
- type of data sets- Parameters:
collection
- collection of data sets
- Returns:
IDataSetIterable
over data sets from collection
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.