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$aintermediary net/minecraft/class_9028$class_9029named net/minecraft/class_9028$class_9029official aintermediary comp_2138named hashFunctionofficial bintermediary comp_2139named maxSizeofficial cintermediary comp_2140named headersofficial dintermediary comp_2141named proxyofficial eintermediary comp_2142named listener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HashFunctionThe field for thehashFunctionrecord component.The field for theheadersrecord component.private final NetworkUtils.class_9034The field for thelistenerrecord component.private final intThe field for themaxSizerecord component.private final ProxyThe field for theproxyrecord 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 booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehashFunctionrecord component.headers()Returns the value of theheadersrecord component.listener()Returns the value of thelistenerrecord component.intmaxSize()Returns the value of themaxSizerecord component.proxy()Returns the value of theproxyrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
hashFunction
The field for thehashFunctionrecord component. -
maxSize
private final int maxSizeThe field for themaxSizerecord component. -
headers
The field for theheadersrecord component. -
proxy
The field for theproxyrecord component. -
listener
The field for thelistenerrecord 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 thehashFunctionrecord component.- Returns:
- the value of the
hashFunctionrecord component
-
maxSize
public int maxSize()Returns the value of themaxSizerecord component.- Returns:
- the value of the
maxSizerecord component
-
headers
Returns the value of theheadersrecord component.- Returns:
- the value of the
headersrecord component
-
proxy
Returns the value of theproxyrecord component.- Returns:
- the value of the
proxyrecord component
-
listener
Returns the value of thelistenerrecord component.- Returns:
- the value of the
listenerrecord component
-