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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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)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;
 
- 
applypublic 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
 
- 
keySizepublic 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
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
operationReturns the value of theoperationrecord component.- Returns:
- the value of the operationrecord component
 
- 
keysReturns the value of thekeysrecord component.- Returns:
- the value of the keysrecord component
 
- 
valuesReturns the value of thevaluesrecord component.- Returns:
- the value of the valuesrecord component
 
 
-