Record Class BinRanges
java.lang.Object
java.lang.Record
com.jsql.model.injection.strategy.blind.callable.BinRanges
-
Constructor Summary
ConstructorsConstructorDescriptionBinRanges(int low, int mid, int high) Creates an instance of aBinRangesrecord 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.inthigh()Returns the value of thehighrecord component.intlow()Returns the value of thelowrecord component.intmid()Returns the value of themidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BinRanges
public BinRanges(int low, int mid, int high) Creates an instance of aBinRangesrecord class.- Parameters:
low- the value for thelowrecord componentmid- the value for themidrecord componenthigh- the value for thehighrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
low
public int low()Returns the value of thelowrecord component.- Returns:
- the value of the
lowrecord component
-
mid
public int mid()Returns the value of themidrecord component.- Returns:
- the value of the
midrecord component
-
high
public int high()Returns the value of thehighrecord component.- Returns:
- the value of the
highrecord component
-