com.hazelcast.jet.function

## Interface DistributedToLongFunction<T>

- All Superinterfaces:
    Serializable, ToLongFunction<T>
  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 DistributedToLongFunction<T>
      extends ToLongFunction<T>, Serializable

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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default long` | `applyAsLong(T value)`
    `long` | `applyAsLongEx(T value)` Exception-declaring version of `ToLongFunction.applyAsLong(T)`.

- - ### Method Detail

    - #### applyAsLongEx

          long applyAsLongEx(T value)
                      throws Exception

      Exception-declaring version of `ToLongFunction.applyAsLong(T)`.
      Throws:
        `Exception`

    - #### applyAsLong

          default long applyAsLong(T value)

      Specified by:
        `applyAsLong` in interface `ToLongFunction<T>`

Copyright © 2018. All rights reserved.