Record Class Value.InstanceOf
java.lang.Object
java.lang.Record
org.geysermc.conduit.Value.InstanceOf
- Record Components:
value- the value testedclassName- the class tested against
- All Implemented Interfaces:
Value
- Enclosing interface:
Value
-
Nested Class Summary
Nested classes/interfaces inherited from interface Value
Value.Array, Value.Conditional, Value.Constructed, Value.Field, Value.InstanceCall, Value.InstanceField, Value.InstanceOf, Value.Lambda, Value.Literal, Value.Multiple, Value.Operation, Value.Operator, Value.Parameter, Value.StaticCall, Value.This, Value.Uninitialized, Value.Unknown -
Constructor Summary
ConstructorsConstructorDescriptionInstanceOf(Value value, String className) Creates an instance of aInstanceOfrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
InstanceOf
-
-
Method Details
-
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
-
className
-