Interface MapSupplier

  • All Known Subinterfaces:
    CMapSupplier<X>
    All Known Implementing Classes:
    MapSuppliers.MapSupplierTreeMap
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface MapSupplier
    Helper interface for creating new map instances with automatically inferred types
    Author:
    Claus Stadler 11/09/2020
    • Method Detail

      • get

        <K,​V> Map<K,​V> get()
      • wrapAsCMap

        default <X> CMapSupplier<X> wrapAsCMap​(java.util.function.Supplier<X> valueSupplier)