public class OperatorAttribute extends Object implements Attribute, OperatorInfo
Attribute which represents details of operators.| Constructor and Description |
|---|
OperatorAttribute(OperatorSpec spec)
Creates a new instance.
|
OperatorAttribute(OperatorSpec spec,
List<? extends ParameterInfo> parameters)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<ParameterInfo> |
getParameters()
Returns the parameters.
|
OperatorSpec |
getSpec()
Returns the operator body.
|
int |
hashCode() |
String |
toString() |
public OperatorAttribute(OperatorSpec spec)
spec - the operator body informationpublic OperatorAttribute(OperatorSpec spec, List<? extends ParameterInfo> parameters)
spec - the operator body informationparameters - the operator parameterspublic OperatorSpec getSpec()
OperatorInfogetSpec in interface OperatorInfopublic List<ParameterInfo> getParameters()
OperatorInfogetParameters in interface OperatorInfoCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.