Record Class DegreeAndCourseHeading
java.lang.Object
java.lang.Record
page.codeberg.friedolyn.client.parser.DegreeAndCourseHeading
- Record Components:
degree- The university degree that the course will lead to.course- The human-readable title of the course.table- The HTML table that contains the degree and course heading.
public record DegreeAndCourseHeading(@NonNull String degree, @NonNull String course, @NonNull org.jsoup.nodes.Element table)
extends Record
Represents an HTML table that contains both the 
course's title and the
degree that the course will lead to.

-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDegreeAndCourseHeading(@NonNull String degree, @NonNull String course, @NonNull org.jsoup.nodes.Element table) Creates an instance of aDegreeAndCourseHeadingrecord class. -
Method Summary
Modifier and TypeMethodDescription@NonNull Stringcourse()Returns the value of thecourserecord component.@NonNull Stringdegree()Returns the value of thedegreerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NonNull org.jsoup.nodes.Elementtable()Returns the value of thetablerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
degree
-
course
-
table
@NonNull private final @NonNull org.jsoup.nodes.Element tableThe field for thetablerecord component.
-
-
Constructor Details
-
DegreeAndCourseHeading
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
degree
-
course
-
table
-