blob: 45ecc7e7661b87ec7787ea9b9f111235e55a28f9 [file] [log] [blame]
alshabibeadfc8e2015-08-18 15:40:46 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2015-present Open Networking Foundation
alshabibeadfc8e2015-08-18 15:40:46 -07003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onlab.util;
17
18/**
19 * A consumer that accepts three arguments.
Thomas Vachuska87ae1d92015-08-19 17:39:11 -070020 *
21 * @param <U> type of first argument
22 * @param <V> type of second argument
23 * @param <W> type of third argument
alshabibeadfc8e2015-08-18 15:40:46 -070024 */
25public interface TriConsumer<U, V, W> {
26
27 /**
28 * Applies the given arguments to the function.
Madan Jampanif97edc12015-08-31 14:41:01 -070029 * @param arg1 first argument
30 * @param arg2 second argument
31 * @param arg3 third argument
alshabibeadfc8e2015-08-18 15:40:46 -070032 */
33 void accept(U arg1, V arg2, W arg3);
34
35}