@@ -0,0 +1,731 @@
+package net.sf.kerner.utils.collections;%0A%0Aimport java.util.Collection;%0A%0A/**%0A * %0A * A %7B@code Selector%7D selects and returns an instance of one element out of a%0A * given %7B@link java.util.Collection Collection%7D of elements.%0A * %0A * %3Cp%3E%0A * %3Cb%3EExample:%3C/b%3E%3Cbr%3E%0A * %0A * %3C/p%3E%0A * %3Cp%3E%0A * %0A * %3Cpre%3E%0A * TODO example%0A * %3C/pre%3E%0A * %0A * %3C/p%3E%0A * %0A * @author %3Ca href=%22mailto:alex.kerner.24@googlemail.com%22%3EAlexander Kerner%3C/a%3E%0A * @version 2011-06-03%0A * %0A * @param %3CT%3E%0A */%0Apublic interface Selector%3CT%3E %7B%0A%0A%09/**%0A%09 * %0A%09 * TODO description%0A%09 *%0A%09 * @param elements %7B@link java.util.Collection Collection%7D of elements from which one should be selected%0A%09 * @return element that was selected by this %7B@code Selector%7D%0A%09 */%0A%09T select(Collection%3CT%3E elements);%0A%0A%7D%0A

Introduce Selector.