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 aBytesGeneratedrecord class. - 
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thedataBytesrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theframeBytesrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class. 
- 
Constructor Details
- 
BytesGenerated
public BytesGenerated(int dataBytes, int frameBytes) Creates an instance of aBytesGeneratedrecord class.- Parameters:
 dataBytes- the value for thedataBytesrecord componentframeBytes- the value for theframeBytesrecord 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 thecomparemethod from their corresponding wrapper classes. - 
dataBytes
public int dataBytes()Returns the value of thedataBytesrecord component.- Returns:
 - the value of the 
dataBytesrecord component 
 - 
frameBytes
public int frameBytes()Returns the value of theframeBytesrecord component.- Returns:
 - the value of the 
frameBytesrecord component 
 
 -