Record Class OpSpecTranscoding
java.lang.Object
java.lang.Record
org.aksw.shellgebra.algebra.common.OpSpecTranscoding
- All Implemented Interfaces:
OpSpec
-
Constructor Summary
ConstructorsConstructorDescriptionOpSpecTranscoding(TranscodeMode mode, String name) Creates an instance of aOpSpecTranscodingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic OpSpecTranscodingstatic OpSpecTranscodingfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mode()Returns the value of themoderecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OpSpecTranscoding
Creates an instance of aOpSpecTranscodingrecord class.- Parameters:
mode- the value for themoderecord componentname- the value for thenamerecord component
-
-
Method Details
-
encode
-
decode
-
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). -
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-