Record Class RangeUtils.RangeRequest.Satisfiable
java.lang.Object
java.lang.Record
io.leandev.appfuse.file.RangeUtils.RangeRequest.Satisfiable
- Record Components:
range- 截到檔案結尾後的範圍
- All Implemented Interfaces:
RangeUtils.RangeRequest
- Enclosing interface:
RangeUtils.RangeRequest
public static record RangeUtils.RangeRequest.Satisfiable(RangeUtils.ByteRange range)
extends Record
implements RangeUtils.RangeRequest
可滿足的單一 range:回 206
-
Nested Class Summary
Nested classes/interfaces inherited from interface RangeUtils.RangeRequest
RangeUtils.RangeRequest.Absent, RangeUtils.RangeRequest.Satisfiable, RangeUtils.RangeRequest.Unsatisfiable -
Constructor Summary
ConstructorsConstructorDescriptionSatisfiable(RangeUtils.ByteRange range) Creates an instance of aSatisfiablerecord 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.range()Returns the value of therangerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Satisfiable
Creates an instance of aSatisfiablerecord class.- Parameters:
range- the value for therangerecord 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). -
range
-