Record Class NullElement
java.lang.Object
java.lang.Record
eu.cloudnetservice.driver.document.send.element.NullElement
- Record Components:
key- the key of this element orElement.NO_KEYif an array entry.
- All Implemented Interfaces:
Element
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNullElement(@NonNull String key) Creates an instance of aNullElementrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(@NonNull ElementVisitor visitor) Applies the given visitor to this element.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
key
-
-
Constructor Details
-
NullElement
-
-
Method Details
-
accept
Applies the given visitor to this element. It is up to the implementation (and therefore the element type) to decide what steps should be executed on the given element visitor. -
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). -
key
-