Interface SetSupplier

  • All Known Subinterfaces:
    CSetSupplier<X>
    All Known Implementing Classes:
    SetSuppliers.SetSupplierTreeSet

    public interface SetSupplier
    Helper interface for creating new set instances with automatically inferred types
    Author:
    Claus Stadler 11/09/2020
    • Method Detail

      • get

        <T> Set<T> get()
      • wrapAsCSet

        default <X> CSetSupplier<X> wrapAsCSet​(java.util.function.Supplier<X> valueSupplier)
        Wrap this map supplier such that any supplied map becomes wrapped as a cmap.
        Returns: