Record Class CollectionContentsPredicate.Multiple<T, P extends Predicate<T>>
java.lang.Object
java.lang.Record
net.minecraft.advancements.criterion.CollectionContentsPredicate.Multiple<T,P>
- All Implemented Interfaces:
Predicate<Iterable<? extends T>>, CollectionContentsPredicate<T,P>
- Enclosing interface:
CollectionContentsPredicate<T, P extends Predicate<T>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface CollectionContentsPredicate
CollectionContentsPredicate.Multiple<T,P>, CollectionContentsPredicate.Single<T, P>, CollectionContentsPredicate.Zero<T, P> -
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.booleantests()Returns the value of thetestsrecord component.final StringtoString()Returns a string representation of this record class.unpack()
-
Field Details
-
tests
-
-
Constructor Details
-
Multiple
-
-
Method Details
-
test
-
unpack
-
toString
-
hashCode
-
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). -
tests
-