Record Class FrameGenerator.BytesGenerated
java.lang.Object
java.lang.Record
org.eclipse.jetty.quic.common.frames.FrameGenerator.BytesGenerated
- Enclosing class:
FrameGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionBytesGenerated
(int dataBytes, int frameBytes) Creates an instance of aBytesGenerated
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of thedataBytes
record component.final boolean
Indicates whether some other object is "equal to" this one.int
Returns the value of theframeBytes
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
BytesGenerated
public BytesGenerated(int dataBytes, int frameBytes) Creates an instance of aBytesGenerated
record class.- Parameters:
dataBytes
- the value for thedataBytes
record componentframeBytes
- the value for theframeBytes
record 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 with thecompare
method from their corresponding wrapper classes. -
dataBytes
public int dataBytes()Returns the value of thedataBytes
record component.- Returns:
- the value of the
dataBytes
record component
-
frameBytes
public int frameBytes()Returns the value of theframeBytes
record component.- Returns:
- the value of the
frameBytes
record component
-