xades4j.utils
Class DataGetterImpl<T>

java.lang.Object
  extended by xades4j.utils.DataGetterImpl<T>
All Implemented Interfaces:
DataGetter<T>

public class DataGetterImpl<T>
extends Object
implements DataGetter<T>

Author:
Luís

Constructor Summary
DataGetterImpl(Collection<T> all)
           
 
Method Summary
 Collection<T> getAll()
           
 Collection<T> getFiltered(CollectionUtils.Predicate<T> filter)
           
<TP extends T>
Collection<TP>
getOfType(Class<TP> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataGetterImpl

public DataGetterImpl(Collection<T> all)
Method Detail

getAll

public Collection<T> getAll()
Specified by:
getAll in interface DataGetter<T>

getOfType

public <TP extends T> Collection<TP> getOfType(Class<TP> clazz)
Specified by:
getOfType in interface DataGetter<T>

getFiltered

public Collection<T> getFiltered(CollectionUtils.Predicate<T> filter)
Specified by:
getFiltered in interface DataGetter<T>


Copyright © 2012. All Rights Reserved.