Is there an equivalent to LINQ's Single in java? Perhaps in lambdaj?
Using Guava:
Iterables.getOnlyElement(Iterable< T > iterable)