Package io.airlift.compress.v3.internal
Record Class NativeLoader.Symbols<T>
java.lang.Object
java.lang.Record
io.airlift.compress.v3.internal.NativeLoader.Symbols<T>
- Enclosing class:
NativeLoader
public static record NativeLoader.Symbols<T>(Optional<LinkageError> linkageError, T symbols)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSymbols(Optional<LinkageError> linkageError, T symbols) Creates an instance of aSymbolsrecord 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.Returns the value of thelinkageErrorrecord component.symbols()Returns the value of thesymbolsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Symbols
Creates an instance of aSymbolsrecord class.- Parameters:
linkageError- the value for thelinkageErrorrecord componentsymbols- the value for thesymbolsrecord component
-
-
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). -
linkageError
Returns the value of thelinkageErrorrecord component.- Returns:
- the value of the
linkageErrorrecord component
-
symbols
Returns the value of thesymbolsrecord component.- Returns:
- the value of the
symbolsrecord component
-