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$Futureintermediary net/minecraft/class_10769$class_10771official btt$bnamed operationintermediary comp_3689official anamed keysintermediary comp_3690official bnamed valuesintermediary comp_3691official c
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(int index) voidfinal booleanIndicates whether some other object is "equal to" this one.private KgetKey(int index) private UgetUValue(int index) private VgetValue(int index) final inthashCode()Returns a hash code value for this object.Object[]keys()Returns the value of thekeysrecord component.intkeySize()BiFunction<K, U, V> Returns the value of theoperationrecord component.voidfinal StringtoString()Returns a string representation of this record class.Object[]values()Returns the value of thevaluesrecord 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)Vintermediary <init>Lnet/minecraft/class_10769$class_10771;<init>(Ljava/util/function/BiFunction;I)Vofficial <init>Lbtt$b;<init>(Ljava/util/function/BiFunction;I)V
-
Future
-
-
Method Details
-
put
- Mappings:
Namespace Name Mixin selector named putLnet/minecraft/util/thread/AsyncHelper$Future;put(ILjava/lang/Object;Ljava/lang/Object;)Vintermediary method_67622Lnet/minecraft/class_10769$class_10771;method_67622(ILjava/lang/Object;Ljava/lang/Object;)Vofficial aLbtt$b;a(ILjava/lang/Object;Ljava/lang/Object;)V
-
getKey
- Mappings:
Namespace Name Mixin selector named getKeyLnet/minecraft/util/thread/AsyncHelper$Future;getKey(I)Ljava/lang/Object;intermediary method_67624Lnet/minecraft/class_10769$class_10771;method_67624(I)Ljava/lang/Object;official bLbtt$b;b(I)Ljava/lang/Object;
-
getValue
- Mappings:
Namespace Name Mixin selector named getValueLnet/minecraft/util/thread/AsyncHelper$Future;getValue(I)Ljava/lang/Object;intermediary method_67625Lnet/minecraft/class_10769$class_10771;method_67625(I)Ljava/lang/Object;official cLbtt$b;c(I)Ljava/lang/Object;
-
getUValue
- Mappings:
Namespace Name Mixin selector named getUValueLnet/minecraft/util/thread/AsyncHelper$Future;getUValue(I)Ljava/lang/Object;intermediary method_67626Lnet/minecraft/class_10769$class_10771;method_67626(I)Ljava/lang/Object;official dLbtt$b;d(I)Ljava/lang/Object;
-
apply
public void apply(int index) - Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/util/thread/AsyncHelper$Future;apply(I)Vintermediary method_67621Lnet/minecraft/class_10769$class_10771;method_67621(I)Vofficial aLbtt$b;a(I)V
-
copy
- Mappings:
Namespace Name Mixin selector named copyLnet/minecraft/util/thread/AsyncHelper$Future;copy(ILjava/util/Map;)Vintermediary method_67623Lnet/minecraft/class_10769$class_10771;method_67623(ILjava/util/Map;)Vofficial aLbtt$b;a(ILjava/util/Map;)V
-
keySize
public int keySize()- Mappings:
Namespace Name Mixin selector named keySizeLnet/minecraft/util/thread/AsyncHelper$Future;keySize()Iintermediary method_67620Lnet/minecraft/class_10769$class_10771;method_67620()Iofficial aLbtt$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 theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
keys
Returns the value of thekeysrecord component.- Returns:
- the value of the
keysrecord component
-
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-