Interface EnumerableAssert<T,​U extends EnumerableAssert<T,​U>>

    • Method Detail

      • hasSameSizeAs

        U hasSameSizeAs​(java.lang.Iterable<?> other)
        Verifies that the enumerable has the same size as the other.
        Parameters:
        other - the other
        Returns:
        the enumerable assert
        Since:
        1.0
      • hasSameSizeAs

        U hasSameSizeAs​(java.lang.Object array)
        Verifies that the enumerable has the same size as the array.
        Parameters:
        array - the other
        Returns:
        the enumerable assert
        Since:
        1.0
      • hasSize

        U hasSize​(int expected)
        Verifies that the enumerable has the expected size.
        Parameters:
        expected - the array
        Returns:
        the enumerable assert
        Since:
        1.0
      • isEmpty

        U isEmpty()
        Verifies that the enumerable is empty.
        Returns:
        the enumerable assert
        Since:
        1.0
      • isNotEmpty

        U isNotEmpty()
        Verifies that the enumerable is not empty.
        Returns:
        the enumerable assert
        Since:
        1.0
      • isNullOrEmpty

        U isNullOrEmpty()
        Verifies that the enumerable is null or empty.
        Returns:
        the enumerable assert
        Since:
        1.0