Record Class PlacedCmdOp.PlacedGroup
java.lang.Object
java.lang.Record
org.aksw.shellgebra.algebra.cmd.op.placed.PlacedCmdOp.PlacedGroup
- All Implemented Interfaces:
PlacedCmdOp
- Enclosing interface:
PlacedCmdOp
public static record PlacedCmdOp.PlacedGroup(List<PlacedCmdOp> subOps, ExecSite execSite)
extends Record
implements PlacedCmdOp
-
Nested Class Summary
Nested classes/interfaces inherited from interface PlacedCmdOp
PlacedCmdOp.PlacedCmd, PlacedCmdOp.PlacedCmdOpVisitor<T>, PlacedCmdOp.PlacedGroup, PlacedCmdOp.PlacedPipeline -
Constructor Summary
ConstructorsConstructorDescriptionPlacedGroup(List<PlacedCmdOp> subOps, ExecSite execSite) Creates an instance of aPlacedGrouprecord class. -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(PlacedCmdOp.PlacedCmdOpVisitor<T> visitor) final booleanIndicates whether some other object is "equal to" this one.execSite()Returns the value of theexecSiterecord component.final inthashCode()Returns a hash code value for this object.subOps()Returns the value of thesubOpsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlacedGroup
Creates an instance of aPlacedGrouprecord class.- Parameters:
subOps- the value for thesubOpsrecord componentexecSite- the value for theexecSiterecord component
-
-
Method Details
-
getExecSite
- Specified by:
getExecSitein interfacePlacedCmdOp
-
accept
- Specified by:
acceptin interfacePlacedCmdOp
-
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). -
subOps
Returns the value of thesubOpsrecord component.- Returns:
- the value of the
subOpsrecord component
-
execSite
Returns the value of theexecSiterecord component.- Returns:
- the value of the
execSiterecord component
-