Interface Aggregates.Pending.Aggregation<T>

    • Method Detail

      • stream

        Stream<Constant<T>> stream()
        Streams all constants matching the specified type and previously-defined rules.
        Returns:
        stream of all applicable constants
      • toCollection

        default <C extends Collection<T>> C toCollection​(Supplier<C> constructor)
        Collects all constant values matching the specified type and previously-defined rules directly into the collection provided by the constructor.
        Type Parameters:
        C - collection type
        Parameters:
        constructor - collection constructor
        Returns:
        collection containing all applicable constant values
      • toList

        default List<T> toList()
        Creates an immutable list containing all constant values matching the specified type and previously-defined rules.
        Returns:
        immutable list containing all applicable constant values
      • toSet

        default Set<T> toSet()
        Creates an immutable set containing all constant values matching the specified type and previously-defined rules.
        Returns:
        immutable set containing all applicable constant values