Interface LongFunction0

All Superinterfaces:
LongSupplier, 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 LongFunction0 extends LongSupplier, Serializable
LongFunction0 is a zero argument lambda. It can be stored in a variable or passed as a parameter and executed by calling the value method. It may be used to reduce the overhead of autoboxing Long objects in places where primitive longs could be used. This file was automatically generated from template file primitiveFunction0.stg.
  • Method Summary

    Modifier and Type
    default long
  • Method Details

    • value

      long value()
    • getAsLong

      default long getAsLong()
      Specified by:
      getAsLong in interface LongSupplier