Package net.minecraft
Record Class class_9028.class_9029
java.lang.Object
java.lang.Record
net.minecraft.class_9028.class_9029
- Record Components:
hashFunction
-maxSize
-headers
-proxy
-listener
-
- Enclosing class:
class_9028
public static record class_9028.class_9029(HashFunction hashFunction, int maxSize, Map<String,String> headers, Proxy proxy, NetworkUtils.class_9034 listener)
extends Record
- Mappings:
Namespace Name official aor$a
intermediary net/minecraft/class_9028$class_9029
named net/minecraft/class_9028$class_9029
official a
intermediary comp_2138
named hashFunction
official b
intermediary comp_2139
named maxSize
official c
intermediary comp_2140
named headers
official d
intermediary comp_2141
named proxy
official e
intermediary comp_2142
named listener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HashFunction
The field for thehashFunction
record component.The field for theheaders
record component.private final NetworkUtils.class_9034
The field for thelistener
record component.private final int
The field for themaxSize
record component.private final Proxy
The field for theproxy
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9029
(HashFunction hashFunction, int int2, Map<String, String> map, Proxy proxy, NetworkUtils.class_9034 class_9034) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thehashFunction
record component.headers()
Returns the value of theheaders
record component.listener()
Returns the value of thelistener
record component.int
maxSize()
Returns the value of themaxSize
record component.proxy()
Returns the value of theproxy
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
hashFunction
The field for thehashFunction
record component. -
maxSize
private final int maxSizeThe field for themaxSize
record component. -
headers
The field for theheaders
record component. -
proxy
The field for theproxy
record component. -
listener
The field for thelistener
record component.
-
-
Constructor Details
-
class_9029
public class_9029(HashFunction hashFunction, int int2, Map<String, String> map, Proxy proxy, NetworkUtils.class_9034 class_9034)
-
-
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 '=='. -
hashFunction
Returns the value of thehashFunction
record component.- Returns:
- the value of the
hashFunction
record component
-
maxSize
public int maxSize()Returns the value of themaxSize
record component.- Returns:
- the value of the
maxSize
record component
-
headers
Returns the value of theheaders
record component.- Returns:
- the value of the
headers
record component
-
proxy
Returns the value of theproxy
record component.- Returns:
- the value of the
proxy
record component
-
listener
Returns the value of thelistener
record component.- Returns:
- the value of the
listener
record component
-