Record Class PropertiesPredicate.ValuePredicate.Exact
java.lang.Object
java.lang.Record
net.minestom.server.instance.block.predicate.PropertiesPredicate.ValuePredicate.Exact
- All Implemented Interfaces:
Predicate<@Nullable String>, PropertiesPredicate.ValuePredicate
- Enclosing interface:
PropertiesPredicate.ValuePredicate
public static record PropertiesPredicate.ValuePredicate.Exact(@Nullable String value)
extends Record
implements PropertiesPredicate.ValuePredicate
-
Nested Class Summary
Nested classes/interfaces inherited from interface PropertiesPredicate.ValuePredicate
PropertiesPredicate.ValuePredicate.Exact, PropertiesPredicate.ValuePredicate.Range -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Codec<PropertiesPredicate.ValuePredicate.Exact> static final NetworkBuffer.Type<PropertiesPredicate.ValuePredicate.Exact> -
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.booleanfinal StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Field Details
-
NETWORK_TYPE
-
CODEC
-
-
Constructor Details
-
Exact
-
-
Method Details
-
test
-
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). -
value
-