Record Class LMetadataValue
java.lang.Object
java.lang.Record
com.io7m.laurel.model.LMetadataValue
- Record Components:
name- The namevalue- The value
- All Implemented Interfaces:
Comparable<LMetadataValue>
public record LMetadataValue(String name, String value)
extends Record
implements Comparable<LMetadataValue>
A metadata value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(LMetadataValue other) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
LMetadataValue
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<LMetadataValue>
-
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). -
name
-
value
-