Class UserTypes


  • public abstract class UserTypes
    extends java.lang.Object
    Static helper methods and classes for user types.
    • Method Detail

      • userTypeToString

        public static <T> java.lang.String userTypeToString​(java.util.Map<FieldIdentifier,​T> items)
        Create a String representation of the user type from the specified items associated to the user type entries.
        Parameters:
        items - items associated to the user type entries
        Returns:
        a String representation of the user type
      • userTypeToString

        public static <T> java.lang.String userTypeToString​(java.util.Map<FieldIdentifier,​T> items,
                                                            java.util.function.Function<T,​java.lang.String> mapper)
        Create a String representation of the user type from the specified items associated to the user type entries.
        Parameters:
        items - items associated to the user type entries
        Returns:
        a String representation of the user type