Package net.minecraft
Record Class class_9259.class_9261<T>
java.lang.Object
java.lang.Record
net.minecraft.class_9259.class_9261<T>
- Record Components:
value-
- All Implemented Interfaces:
class_9259<T>
- Enclosing interface:
class_9259<T>
- Mappings:
Namespace Name official apc$bintermediary net/minecraft/class_9259$class_9261named net/minecraft/class_9259$class_9261official aintermediary comp_2368named value
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_9259
class_9259.class_9260<T>, class_9259.class_9261<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
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.booleanmethod_57126(Consumer<T> consumer) <R> class_9259<R> method_57127(Function<T, R> function) method_57130(T t) method_57132(Supplier<E> supplier) final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Field Details
-
value
The field for thevaluerecord component.
-
-
Constructor Details
-
class_9261
-
-
Method Details
-
method_57122
public boolean method_57122()- Specified by:
method_57122in interfaceclass_9259<T>- Mappings:
Namespace Name Mixin selector official aLapc;a()Zintermediary method_57122Lnet/minecraft/class_9259;method_57122()Znamed method_57122Lnet/minecraft/class_9259;method_57122()Z
-
method_57130
- Specified by:
method_57130in interfaceclass_9259<T>- Mappings:
Namespace Name Mixin selector official bLapc;b(Ljava/lang/Object;)Ljava/lang/Object;intermediary method_57130Lnet/minecraft/class_9259;method_57130(Ljava/lang/Object;)Ljava/lang/Object;named method_57130Lnet/minecraft/class_9259;method_57130(Ljava/lang/Object;)Ljava/lang/Object;
-
method_57129
- Specified by:
method_57129in interfaceclass_9259<T>- Mappings:
Namespace Name Mixin selector official bLapc;b()Ljava/lang/String;intermediary method_57129Lnet/minecraft/class_9259;method_57129()Ljava/lang/String;named method_57129Lnet/minecraft/class_9259;method_57129()Ljava/lang/String;
-
method_57126
- Specified by:
method_57126in interfaceclass_9259<T>- Mappings:
Namespace Name Mixin selector official aLapc;a(Ljava/util/function/Consumer;)Lapc;intermediary method_57126Lnet/minecraft/class_9259;method_57126(Ljava/util/function/Consumer;)Lnet/minecraft/class_9259;named method_57126Lnet/minecraft/class_9259;method_57126(Ljava/util/function/Consumer;)Lnet/minecraft/class_9259;
-
method_57127
- Specified by:
method_57127in interfaceclass_9259<T>- Mappings:
Namespace Name Mixin selector official aLapc;a(Ljava/util/function/Function;)Lapc;intermediary method_57127Lnet/minecraft/class_9259;method_57127(Ljava/util/function/Function;)Lnet/minecraft/class_9259;named method_57127Lnet/minecraft/class_9259;method_57127(Ljava/util/function/Function;)Lnet/minecraft/class_9259;
-
method_57132
- Specified by:
method_57132in interfaceclass_9259<T>- Throws:
E- Mappings:
Namespace Name Mixin selector official bLapc;b(Ljava/util/function/Supplier;)Ljava/lang/Object;intermediary method_57132Lnet/minecraft/class_9259;method_57132(Ljava/util/function/Supplier;)Ljava/lang/Object;named method_57132Lnet/minecraft/class_9259;method_57132(Ljava/util/function/Supplier;)Ljava/lang/Object;
-
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). -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-