Interface IIterableContainExaminer

All Known Subinterfaces:
IIterableExaminer
All Known Implementing Classes:
IterableExaminer

public interface IIterableContainExaminer
Author:
Silvan Wyss
  • Method Details

    • containsAny

      boolean containsAny(Iterable<?> iterable)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      Returns:
      true if the given iterable contains an element, false otherwise
    • containsNonNull

      boolean containsNonNull(Iterable<?> iterable)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      Returns:
      true if the given iterable contains a non-null element, false otherwise.
    • isEmpty

      boolean isEmpty(Iterable<?> iterable)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      Returns:
      true if the given iterable is empty, false otherwise