Interface BiConsumer<K,​V>

  • Type Parameters:
    K - type of the first argument
    V - type of the second argument
    All Superinterfaces:
    BiConsumer<K,​V>

    public interface BiConsumer<K,​V>
    extends BiConsumer<K,​V>
    An operation that accepts two input arguments and returns no result.
    Since:
    2.7
    See Also:
    ReadOnlyStringMap
    • Method Detail

      • accept

        void accept​(K k,
                    V v)
        Performs the operation given the specified arguments.
        Specified by:
        accept in interface BiConsumer<K,​V>
        Parameters:
        k - the first input argument
        v - the second input argument