Interface ListView<T>

  • All Superinterfaces:
    Collection<T>, Iterable<T>, List<T>
    All Known Subinterfaces:
    List<T>
    All Known Implementing Classes:
    ListI, ListViewI

    public interface ListView<T>
    extends Collection<T>, List<T>
    TODO Extend interface with functional write methods: https://www.vavr.io/vavr-docs/#_list
    • Method Detail

      • hasElements

        default boolean hasElements()
        This helper method makes it easier to distinguish isEmpty and !isEmpty.
        Returns:
        Whether this list has a size bigger than zero.