Record Class ContentEntry
java.lang.Object
java.lang.Record
com.ultikits.ultitools.bootstrap.ContentEntry
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionContentEntry(String kind, String key) Creates an instance of aContentEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.kind()Returns the value of thekindrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
kind
The field for thekindrecord component. -
key
The field for thekeyrecord component. -
TAG_PREFIX
- See Also:
-
-
Constructor Details
-
ContentEntry
-
-
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). -
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-