Interface IStat<N extends Number>

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 IStat<N extends Number>
A specific stat.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(N input)
    Apply the input value to the existing value.
  • Method Details

    • apply

      N apply(@NotNull N input)
      Apply the input value to the existing value.
      Parameters:
      input - the input value.
      Returns:
      the calculated output.