View Javadoc

1   package nl.tudelft.goal.unreal.util;
2   
3   import java.util.Collection;
4   
5   /**
6    * Selects from a collection a single element.
7   
8    * @author mpkorstanje
9    *
10   * @param <T> type of the collection.
11   */
12  
13  public interface Selector<T>  {
14  	
15  	public T select(Collection<? extends T> c);
16  
17  }