Class GroupTypeDescription


  • public class GroupTypeDescription
    extends Object
    Generates a description for the type of a group of elements. The description is used in the error message.
    • Field Detail

      • SPLITERATORS_CLASS_STACK_TRACE_NUM

        private static final int SPLITERATORS_CLASS_STACK_TRACE_NUM
        See Also:
        Constant Field Values
      • groupTypeName

        private String groupTypeName
      • elementTypeName

        private String elementTypeName
    • Constructor Detail

      • GroupTypeDescription

        public GroupTypeDescription​(String groupTypeName,
                                    String elementTypeName)
    • Method Detail

      • getElementTypeName

        public String getElementTypeName()
      • getGroupTypeName

        public String getGroupTypeName()
      • getGroupTypeDescription

        public static GroupTypeDescription getGroupTypeDescription​(Object actual)
        Creates a new GroupTypeDescription for a group of elements.
        Parameters:
        actual - the group of elements.
        Returns:
        the created GroupTypeDescription object