Record Class MsgPackTokenWriter.Settings
java.lang.Object
java.lang.Record
org.apache.juneau.marshall.msgpack.MsgPackTokenWriter.Settings
- Record Components:
walk- Thewalk optionsused byMsgPackTokenWriter.object(Object).
- Enclosing class:
- MsgPackTokenWriter
Cursor-level settings honored by
MsgPackTokenWriter.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MsgPackTokenWriter.SettingsDefault canonical setting: default walk options. -
Constructor Summary
ConstructorsConstructorDescriptionSettings(PojoWalker.Options walk) Creates an instance of aSettingsrecord 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.final StringtoString()Returns a string representation of this record class.walk()Returns the value of thewalkrecord component.
-
Field Details
-
DEFAULT
Default canonical setting: default walk options.
-
-
Constructor Details
-
Settings
Creates an instance of aSettingsrecord class.- Parameters:
walk- the value for thewalkrecord 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
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 withObjects::equals(Object,Object). -
walk
Returns the value of thewalkrecord component.- Returns:
- the value of the
walkrecord component
-