Record Class SulongCbits.CapiResult
java.lang.Object
java.lang.Record
thc.runtime.SulongCbits.CapiResult
- Enclosing class:
SulongCbits
-
Constructor Summary
ConstructorsConstructorDescriptionCapiResult(long value, long errno) Creates an instance of aCapiResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longerrno()Returns the value of theerrnorecord component.longgetErrno()longgetValue()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.longvalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
CapiResult
Creates an instance of aCapiResultrecord class.- Parameters:
value- the value for thevaluerecord componenterrno- the value for theerrnorecord component
-
-
Method Details
-
getValue
-
getErrno
-
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 with thecomparemethod from their corresponding wrapper classes. -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
errno
Returns the value of theerrnorecord component.- Returns:
- the value of the
errnorecord component
-