Returns random instance of a provided collection, with overloads allowing instances to be excluded according to a Predicate .

class Collections {
  Collections(final FakeDataService fakeDataService)
  E anyEnum(final Class<E> enumType)
  E anyEnumExcept(final Class<E> enumType, final Predicate<E> except)
  T anyBounded(final Class<T> cls)
  T anyBoundedExcept(final Class<T> cls, final Predicate<T> except)
  T anyOf(final List<T> list)
  T anyOf(final Collection<T> collection)
  T anyOfExcept(final List<T> list, final Predicate<T> except)
  T anyOfExcept(final Collection<T> collection, final Predicate<T> except)
  char anyOf(final char... elements)
  char anyOfExcept(final char[] elements, final Predicate<Character> except)
  byte anyOf(final byte... elements)
  byte anyOfExcept(final byte[] elements, final Predicate<Byte> except)
  short anyOf(final short... elements)
  short anyOfExcept(final short[] elements, final Predicate<Short> except)
  int anyOf(final int... elements)
  int anyOfExcept(final int[] elements, final Predicate<Integer> except)
  long anyOf(final long... elements)
  long anyOfExcept(final long[] elements, final Predicate<Long> except)
  float anyOf(final float... elements)
  float anyOfExcept(final float[] elements, final Predicate<Float> except)
  double anyOf(final double... elements)
  double anyOfExcept(final double[] elements, final Predicate<Double> except)
  boolean anyOf(final boolean... elements)
  boolean anyOfExcept(final boolean[] elements, final Predicate<Boolean> except)
  T anyOf(final T... elements)
  T anyOfExcept(final T[] elements, final Predicate<T> except)
  E find(final Callable<E> block, final Predicate<E> except)