Package net.minecraft.util.thread
Record Class AsyncHelper.Future<K,U,V>
java.lang.Object
java.lang.Record
net.minecraft.util.thread.AsyncHelper.Future<K,U,V>
- Record Components:
operation
-keys
-values
-
- Enclosing class:
AsyncHelper
private static record AsyncHelper.Future<K,U,V> (BiFunction<K,U,V> operation, Object[] keys, Object[] values)
extends Record
- Mappings:
Namespace Name named net/minecraft/util/thread/AsyncHelper$Future
intermediary net/minecraft/class_10769$class_10771
official btt$b
named operation
intermediary comp_3689
official a
named keys
intermediary comp_3690
official b
named values
intermediary comp_3691
official c
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(int index) void
final boolean
Indicates whether some other object is "equal to" this one.private K
getKey
(int index) private U
getUValue
(int index) private V
getValue
(int index) final int
hashCode()
Returns a hash code value for this object.Object[]
keys()
Returns the value of thekeys
record component.int
keySize()
BiFunction
<K, U, V> Returns the value of theoperation
record component.void
final String
toString()
Returns a string representation of this record class.Object[]
values()
Returns the value of thevalues
record component.
-
Field Details
-
Constructor Details
-
Future
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/thread/AsyncHelper$Future;<init>(Ljava/util/function/BiFunction;I)V
intermediary <init>
Lnet/minecraft/class_10769$class_10771;<init>(Ljava/util/function/BiFunction;I)V
official <init>
Lbtt$b;<init>(Ljava/util/function/BiFunction;I)V
-
Future
-
-
Method Details
-
put
- Mappings:
Namespace Name Mixin selector named put
Lnet/minecraft/util/thread/AsyncHelper$Future;put(ILjava/lang/Object;Ljava/lang/Object;)V
intermediary method_67622
Lnet/minecraft/class_10769$class_10771;method_67622(ILjava/lang/Object;Ljava/lang/Object;)V
official a
Lbtt$b;a(ILjava/lang/Object;Ljava/lang/Object;)V
-
getKey
- Mappings:
Namespace Name Mixin selector named getKey
Lnet/minecraft/util/thread/AsyncHelper$Future;getKey(I)Ljava/lang/Object;
intermediary method_67624
Lnet/minecraft/class_10769$class_10771;method_67624(I)Ljava/lang/Object;
official b
Lbtt$b;b(I)Ljava/lang/Object;
-
getValue
- Mappings:
Namespace Name Mixin selector named getValue
Lnet/minecraft/util/thread/AsyncHelper$Future;getValue(I)Ljava/lang/Object;
intermediary method_67625
Lnet/minecraft/class_10769$class_10771;method_67625(I)Ljava/lang/Object;
official c
Lbtt$b;c(I)Ljava/lang/Object;
-
getUValue
- Mappings:
Namespace Name Mixin selector named getUValue
Lnet/minecraft/util/thread/AsyncHelper$Future;getUValue(I)Ljava/lang/Object;
intermediary method_67626
Lnet/minecraft/class_10769$class_10771;method_67626(I)Ljava/lang/Object;
official d
Lbtt$b;d(I)Ljava/lang/Object;
-
apply
public void apply(int index) - Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/util/thread/AsyncHelper$Future;apply(I)V
intermediary method_67621
Lnet/minecraft/class_10769$class_10771;method_67621(I)V
official a
Lbtt$b;a(I)V
-
copy
- Mappings:
Namespace Name Mixin selector named copy
Lnet/minecraft/util/thread/AsyncHelper$Future;copy(ILjava/util/Map;)V
intermediary method_67623
Lnet/minecraft/class_10769$class_10771;method_67623(ILjava/util/Map;)V
official a
Lbtt$b;a(ILjava/util/Map;)V
-
keySize
public int keySize()- Mappings:
Namespace Name Mixin selector named keySize
Lnet/minecraft/util/thread/AsyncHelper$Future;keySize()I
intermediary method_67620
Lnet/minecraft/class_10769$class_10771;method_67620()I
official a
Lbtt$b;a()I
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
operation
Returns the value of theoperation
record component.- Returns:
- the value of the
operation
record component
-
keys
Returns the value of thekeys
record component.- Returns:
- the value of the
keys
record component
-
values
Returns the value of thevalues
record component.- Returns:
- the value of the
values
record component
-