com.hazelcast.jet.function

## Interface DistributedObjLongConsumer<T>

- All Superinterfaces:
    ObjLongConsumer<T>, Serializable
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface DistributedObjLongConsumer<T>
      extends ObjLongConsumer<T>, Serializable

  `Serializable` variant of `java.util.function.ObjLongConsumer` which declares checked exception.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `accept(T t, long value)`
    `void` | `acceptEx(T t, long value)` Exception-declaring version of `ObjLongConsumer.accept(T, long)`.

- - ### Method Detail

    - #### acceptEx

          void acceptEx(T t,
                        long value)
                 throws Exception

      Exception-declaring version of `ObjLongConsumer.accept(T, long)`.
      Throws:
        `Exception`

    - #### accept

          default void accept(T t,
                              long value)

      Specified by:
        `accept` in interface `ObjLongConsumer<T>`

Copyright © 2018. All rights reserved.