Interface IUserIdFunction

  • 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 IUserIdFunction
    A function to map user IDs from internal to external.
    Author:
    Bruce Skingle
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long map​(long userId)
      Map the given internal or external user ID to its external form.
    • Method Detail

      • map

        long map​(long userId)
        Map the given internal or external user ID to its external form.
        Parameters:
        userId - A user ID
        Returns:
        The external form of that user ID.