public class OuterRuleMembrane extends Membrane
Constructor and Description |
---|
OuterRuleMembrane(Label label)
Creates a new OuterRuleMembrane instance with the label and charge passed
as parameter
|
OuterRuleMembrane(Label label,
byte charge)
Creates a new OuterRuleMembrane instance with the label and charge passed
as parameter
|
OuterRuleMembrane(Label label,
byte charge,
java.util.List<InnerRuleMembrane> innerMembranes)
Creates a new OuterRuleMembrane instance with the label, charge and child
membranes passed as parameter
|
OuterRuleMembrane(Label label,
byte charge,
MultiSet<java.lang.String> multiset)
Creates a new OuterRuleMembrane instance with the label, charge and inner
multiset passed as parameter
|
OuterRuleMembrane(Label label,
byte charge,
MultiSet<java.lang.String> multiset,
java.util.List<InnerRuleMembrane> innerMembranes)
Creates a new OuterRuleMembrane instance with the label, charge, inner
multiset and child membranes passed as parameter
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<InnerRuleMembrane> |
getInnerRuleMembranes()
Gets all inner rule membranes involved in the rule
|
int |
hashCode() |
java.lang.String |
toString() |
getCharge, getChargeSymbol, getLabel, getLabelObj, getMultiSet
public OuterRuleMembrane(Label label, byte charge, java.util.List<InnerRuleMembrane> innerMembranes)
label
- the outer membrane labelcharge
- the outer membrane chargeinnerMembranes
- a list containing all child membranes involved in the rulepublic OuterRuleMembrane(Label label, byte charge, MultiSet<java.lang.String> multiset, java.util.List<InnerRuleMembrane> innerMembranes)
label
- the outer membrane labelcharge
- the outer membrane chargemultiset
- the inner multiset into the outer membraneinnerMembranes
- a list containing all child membranes involved in the rulepublic OuterRuleMembrane(Label label, byte charge)
label
- the outer membrane labelcharge
- the outer membrane chargepublic OuterRuleMembrane(Label label, byte charge, MultiSet<java.lang.String> multiset)
label
- the outer membrane labelcharge
- the outer membrane chargemultiset
- the inner multiset into the outer membranepublic OuterRuleMembrane(Label label)
label
- the outer membrane labelpublic java.util.List<InnerRuleMembrane> getInnerRuleMembranes()
public java.lang.String toString()
toString
in class Membrane
Membrane.toString()
public int hashCode()
hashCode
in class Membrane
Membrane.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class Membrane
Membrane.equals(java.lang.Object)