Package net.minecraft
Record Class class_9639.class_9641<T,P extends Predicate<T>>
java.lang.Object
java.lang.Record
net.minecraft.class_9639.class_9641<T,P>
- Record Components:
a-
- All Implemented Interfaces:
Predicate<Iterable<T>>,class_9639<T,P>
- Enclosing interface:
class_9639<T,P extends Predicate<T>>
public static record class_9639.class_9641<T,P extends Predicate<T>> (P extends Predicate<T> a)
extends Record
implements class_9639<T,P>
- Mappings:
Namespace Name named net/minecraft/class_9639$class_9641intermediary net/minecraft/class_9639$class_9641official ba$bnamed aintermediary comp_2612official a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_9639
class_9639.class_9640<T,P extends Predicate<T>>, class_9639.class_9641<T, P extends Predicate<T>>, class_9639.class_9642<T, P extends Predicate<T>> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiona()Returns the value of thearecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
a
The field for thearecord component.
-
-
Constructor Details
-
class_9641
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<T>- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/class_9639$class_9641;test(Ljava/lang/Iterable;)Zintermediary method_59611Lnet/minecraft/class_9639$class_9641;method_59611(Ljava/lang/Iterable;)Zofficial aLba$b;a(Ljava/lang/Iterable;)Z
-
method_59605
- Specified by:
method_59605in interfaceclass_9639<T,P extends Predicate<T>> - Mappings:
Namespace Name Mixin selector named method_59605Lnet/minecraft/class_9639;method_59605()Ljava/util/List;intermediary method_59605Lnet/minecraft/class_9639;method_59605()Ljava/util/List;official aLba;a()Ljava/util/List;
-
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). -
a
Returns the value of thearecord component.- Returns:
- the value of the
arecord component
-