org.apache.logging.log4j.util

Interface BiConsumer<K,V>

  • Type Parameters:
    K - type of the first argument
    V - type of the second argument


    public interface 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.
        Parameters:
        k - the first input argument
        v - the second input argument

Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.