Uses of Interface
no.digipost.collection.NonEmptyList

Packages that use NonEmptyList
Package
Description
 
 
  • Uses of NonEmptyList in no.digipost

    Methods in no.digipost that return types with arguments of type NonEmptyList
    Modifier and Type
    Method
    Description
    DiggCollectors.toNonEmptyList()
    Collect element(s) to a NonEmptyList.
  • Uses of NonEmptyList in no.digipost.collection

    Methods in no.digipost.collection that return NonEmptyList
    Modifier and Type
    Method
    Description
    static <E> NonEmptyList<E>
    NonEmptyList.copyOfUnsafe(E[] nonEmptyArray)
    Unsafe construction of non-empty list from copying the elements of an array assumed to be non-empty.
    static <E> NonEmptyList<E>
    NonEmptyList.copyOfUnsafe(Collection<E> nonEmptyCollection)
    Unsafe construction of non-empty list from copying the elements of a collection assumed to be non-empty.
    static <E> NonEmptyList<E>
    NonEmptyList.copyOfUnsafe(List<E> nonEmptyList)
    Unsafe construction of non-empty list from copying the elements of a list assumed to be non-empty.
    static <E> NonEmptyList<E>
    NonEmptyList.of(E singleElement)
    Construct a non-empty list with one single element.
    static <E> NonEmptyList<E>
    NonEmptyList.of(E firstElement, E... remainingElements)
    Construct a non-empty list containing a specific object as its first element, and any provided remaining elements.
    static <E> NonEmptyList<E>
    NonEmptyList.of(E firstElement, List<E> remainingElements)
    Construct a non-empty list containing a specific object as its first element, and any elements contained in another list as its remaining elements.
    static <E> NonEmptyList<E>
    NonEmptyList.ofUnsafe(E[] nonEmptyArray)
    Try to construct a non-empty list from a given array, which is assumed is not empty.
    static <E> NonEmptyList<E>
    NonEmptyList.ofUnsafe(List<E> nonEmptyList)
    Try to construct a non-empty list from a given list, which is assumed is not empty.
    Methods in no.digipost.collection that return types with arguments of type NonEmptyList
    Modifier and Type
    Method
    Description
    static <E> Optional<NonEmptyList<E>>
    NonEmptyList.copyOf(E[] array)
    Try to construct a non-empty list from copying the elements of a given array, which may be empty.
    static <E> Optional<NonEmptyList<E>>
    NonEmptyList.copyOf(Collection<E> collection)
    Try to construct a non-empty list from copying the elements of a given collection, which may be empty.
    static <E> Optional<NonEmptyList<E>>
    NonEmptyList.copyOf(List<E> list)
    Try to construct a non-empty list from copying the elements of a given list, which may be empty.
    static <E> Optional<NonEmptyList<E>>
    NonEmptyList.of(E[] array)
    Try to construct a non-empty list from a given array, which may be empty.
    static <E> Optional<NonEmptyList<E>>
    NonEmptyList.of(List<E> list)
    Try to construct a non-empty list from a given list, which may be empty.