Record Class PublishedValues.Where
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase9.PublishedValues.Where
- Enclosing class:
PublishedValues
Where an instruction is: in an operation of a registered construct or not, and while its object is still being
constructed or not (a constructor,
_i_init, _c_init).-
Constructor Summary
ConstructorsConstructorDescriptionWhere(boolean ownerRegistered, boolean inConstruction) Creates an instance of aWhererecord class. -
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.booleanReturns the value of theinConstructionrecord component.booleanReturns the value of theownerRegisteredrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Where
Where(boolean ownerRegistered, boolean inConstruction) Creates an instance of aWhererecord class.- Parameters:
ownerRegistered- the value for theownerRegisteredrecord componentinConstruction- the value for theinConstructionrecord component
-
-
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 with thecomparemethod from their corresponding wrapper classes. -
ownerRegistered
public boolean ownerRegistered()Returns the value of theownerRegisteredrecord component.- Returns:
- the value of the
ownerRegisteredrecord component
-
inConstruction
public boolean inConstruction()Returns the value of theinConstructionrecord component.- Returns:
- the value of the
inConstructionrecord component
-