Interface IIterableContainMultipleObjectExaminer

All Known Subinterfaces:
IIterableExaminer
All Known Implementing Classes:
IterableExaminer

public interface IIterableContainMultipleObjectExaminer
Author:
Silvan Wyss
  • Method Details

    • containsAll

      boolean containsAll(Iterable<?> iterable, Iterable<?> objects)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      objects - the searched for Objects, is considered to be empty when is null
      Returns:
      true if the given iterable contains all of the given objects, false otherwise
    • containsAll

      boolean containsAll(Iterable<?> iterable, Object... objects)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      objects - the searched for Objects, is considered to be empty when is null
      Returns:
      true if the given iterable contains all of the given objects, false otherwise
    • containsAny

      boolean containsAny(Iterable<?> iterable, Iterable<?> objects)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      objects - the searched for Objects, is considered to be empty when is null
      Returns:
      true if the given iterable contains any of the given objects, false otherwise
    • containsAny

      boolean containsAny(Iterable<?> iterable, Object... objects)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      objects - the searched for Objects, is considered to be empty when is null
      Returns:
      true if the given iterable contains any of the given objects, false otherwise
    • containsExactlyAll

      boolean containsExactlyAll(Iterable<?> iterable, Iterable<?> objects)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      objects - the searched for Objects, is considered to be empty when is null
      Returns:
      true if the given iterable contains exactly all the given objects, false otherwise
    • containsExactlyAll

      boolean containsExactlyAll(Iterable<?> iterable, Object... objects)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      objects - the searched for Objects, is considered to be empty when is null
      Returns:
      true if the given iterable contains exactly all the given objects, false otherwise
    • containsExactlyAllInSameOrder

      boolean containsExactlyAllInSameOrder(Iterable<?> iterable, Iterable<?> objects)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      objects - the searched for Objects, is considered to be empty when is null
      Returns:
      true if the given iterable contains exactly all the given objects in the same order, false otherwise
    • containsExactlyAllInSameOrder

      boolean containsExactlyAllInSameOrder(Iterable<?> iterable, Object... objects)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      objects - the searched for Objects, is considered to be empty when is null
      Returns:
      true if the given iterable contains exactly all the given objects in the same order, false otherwise
    • containsNone

      boolean containsNone(Iterable<?> iterable, Iterable<?> objects)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      objects - the searched for Objects, is considered to be empty when is null
      Returns:
      true if the given iterable does not contain any of the given objects, false otherwise
    • containsNone

      boolean containsNone(Iterable<?> iterable, Object... objects)
      Parameters:
      iterable - the searched Iterable, is considered to be empty when is null
      objects - the searched for Objects, is considered to be empty when is null
      Returns:
      true if the given iterable does not contain any of the given objects, false otherwise