java.lang.Object
java.lang.Record
dev.argon.esexpr.ESExpr.Float16
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.argon.esexpr.ESExpr
ESExpr.Array128, ESExpr.Array16, ESExpr.Array32, ESExpr.Array64, ESExpr.Array8, ESExpr.Bool, ESExpr.Constructor, ESExpr.Float16, ESExpr.Float32, ESExpr.Float64, ESExpr.Int, ESExpr.Null, ESExpr.Str -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.shortf()Returns the value of thefrecord component.inthashCode()Returns a hash code value for this object.tag()Gets the tag of this expression.toString()Returns a string representation of this record class.
-
Constructor Details
-
Float16
public Float16(short f) Creates an instance of aFloat16record class.- Parameters:
f- the value for thefrecord component
-
-
Method Details
-
tag
-
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 '=='. -
hashCode
-
toString
-
f
-