Package org.geysermc.geyser.dump
Record Class DumpInfo.NetherNetInfo.Nxs
java.lang.Object
java.lang.Record
org.geysermc.geyser.dump.DumpInfo.NetherNetInfo.Nxs
- Record Components:
confirmed- whether the service has confirmedaddresses
- Enclosing class:
DumpInfo.NetherNetInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaddressesrecord component.Returns the value of theassistedFamiliesrecord component.booleanReturns the value of theconfirmedrecord component.final 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.
-
Constructor Details
-
Nxs
Creates an instance of aNxsrecord class.- Parameters:
confirmed- the value for theconfirmedrecord componentaddresses- the value for theaddressesrecord componentassistedFamilies- the value for theassistedFamiliesrecord 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
public final int 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
confirmed
public boolean confirmed()Returns the value of theconfirmedrecord component.- Returns:
- the value of the
confirmedrecord component
-
addresses
Returns the value of theaddressesrecord component.- Returns:
- the value of the
addressesrecord component
-
assistedFamilies
Returns the value of theassistedFamiliesrecord component.- Returns:
- the value of the
assistedFamiliesrecord component
-