T -操作的对象参数的类型
@FunctionalInterface public interface ObjLongConsumer<T>
long-valued的说法,并没有返回结果。这是
BiConsumer的
(reference, long)专业化。不像大多数其他的功能接口,
ObjLongConsumer有望通过的副作用。
这是一个functional interface其功能的方法是accept(Object, long)。
BiConsumer
void accept(T t, long 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.