Record Class CmdOpGroup
java.lang.Object
java.lang.Record
org.aksw.shellgebra.algebra.cmd.op.CmdOpGroup
- All Implemented Interfaces:
CmdOp
-
Nested Class Summary
Nested classes/interfaces inherited from interface CmdOp
CmdOp.CmdOpVisitorAddRedirect, CmdOp.CmdOpVisitorModifyRedirect, CmdOp.CmdOpVisitorPrependRedirect -
Constructor Summary
ConstructorsConstructorDescriptionCmdOpGroup(List<CmdOp> subOps) CmdOpGroup(List<CmdOp> subOps, List<CmdRedirect> redirects) Creates an instance of aCmdOpGrouprecord class. -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(CmdOpVisitor<T> visitor) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static CmdOpGroupof(List<CmdOp> subOps, List<CmdRedirect> redirects) static CmdOpGroupReturns the value of theredirectsrecord component.subOps()Returns the value of thesubOpsrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
CmdOpGroup
Creates an instance of aCmdOpGrouprecord class.- Parameters:
subOps- the value for thesubOpsrecord componentredirects- the value for theredirectsrecord component
-
CmdOpGroup
-
-
Method Details
-
of
-
of
-
accept
-
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
-
redirects
Returns the value of theredirectsrecord component.- Returns:
- the value of the
redirectsrecord component
-