Interface CollectionExtractor<CollectionT extends Collection<T>,T>

Type Parameters:
CollectionT - The type of the collection to extract.
T - The type of the values contained in the collection.
All Known Implementing Classes:
GenericCollectionExtractor

public interface CollectionExtractor<CollectionT extends Collection<T>,T>
Functional interface handling the type-safe transformation of a ResultElement to a collections of a specific type.
  • Method Summary

    Modifier and Type
    Method
    Description
    extract(ResultElement resultElement)
    Transforms the given ResultElement into a Collection.
  • Method Details

    • extract

      @Nonnull CollectionT extract(@Nonnull ResultElement resultElement)
      Transforms the given ResultElement into a Collection.
      Parameters:
      resultElement - The ResultElement to transform.
      Returns:
      A Collection containing the content of the given ResultElement.