T
-操作的对象参数的类型
@FunctionalInterface public interface ObjIntConsumer<T>
int
-valued的说法,并没有返回结果。这是
BiConsumer
的
(reference, int)
专业化。不像大多数其他的功能接口,
ObjIntConsumer
有望通过的副作用。
这是一个functional interface其功能的方法是accept(Object, int)
。
BiConsumer
void accept(T t, int value)
t
-第一个输入参数
value
-第二输入参数
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.