Example usage for java.util.function ObjLongConsumer accept

List of usage examples for java.util.function ObjLongConsumer accept

Introduction

In this page you can find the example usage for java.util.function ObjLongConsumer accept.

Prototype

void accept(T t, long value);

Source Link

Document

Performs this operation on the given arguments.

Usage

From source file:Main.java

public static void main(String[] args) {
    ObjLongConsumer<String> i = (s, d) -> System.out.println(s + d);

    i.accept("java2s.com ", Long.MAX_VALUE);
}