Record Class AdapterType<S,T>
java.lang.Object
java.lang.Record
io.github.kaktushose.jdac.dispatching.adapter.AdapterType<S,T>
- Record Components:
source- the sourceTypethat will be converted to the targetTypetarget- the targetTypethat will be converted from the sourceType
-
Constructor Summary
ConstructorsConstructorDescriptionAdapterType(io.github.kaktushose.proteus.type.Type<S> source, io.github.kaktushose.proteus.type.Type<T> target) Creates an instance of aAdapterTyperecord 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.io.github.kaktushose.proteus.type.Type<S> source()Returns the value of thesourcerecord component.io.github.kaktushose.proteus.type.Type<T> target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AdapterType
-
-
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). -
source
-
target
-