| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjml2b.util.Profiler
jml2b.pog.substitution.SubMemberField
This class implements a substitution of a member field a by 
 a <+ { b |-> c } corresponding to an affectation of a new value
 for a given instance.
| Field Summary | 
| Fields inherited from interface jml2b.pog.substitution.Substitution | 
| ARRAY_ELEMENT, ARRAY_ELEMENT_SINGLE, ARRAY_LENGTH, FORM, INSTANCES_SET, INSTANCES_SINGLE, MEMBER_FIELD, TMP_VAR, TYPEOF_SET, TYPEOF_SINGLE | 
| Constructor Summary | |
| SubMemberField(Formula a,
               Formula b,
               Formula c,
               Formula d)Constructs a substitution form another one or from a loaded one | |
| SubMemberField(Formula a,
               java.lang.String b,
               java.lang.String c,
               Formula d)Constructs a substitution | |
| Method Summary | |
|  java.lang.Object | clone()Clones the substitution. | 
|  Formula | getField() | 
|  Formula | getInstance() | 
|  void | save(IJml2bConfiguration config,
     JpoOutputStream s,
     IJmlFile jf)Saves the substitution in a .jpo file | 
|  Formula | sub(Formula f)Apply the current substitution on a formula. | 
|  void | sub(Substitution s)Apply a substitution on the current substitution. | 
| Methods inherited from class jml2b.util.Profiler | 
| runGC | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public SubMemberField(Formula a,
                      java.lang.String b,
                      java.lang.String c,
                      Formula d)
a - The initial member fieldb - The new member fieldc - The instanced - The value
public SubMemberField(Formula a,
                      Formula b,
                      Formula c,
                      Formula d)
a - The initial member fieldb - The new member fieldc - The instanced - The value| Method Detail | 
public java.lang.Object clone()
Substitution
clone in interface Substitutionpublic Formula sub(Formula f)
Substitution
sub in interface Substitutionf - The formula on which the substitution is applied
public void sub(Substitution s)
Substitution
sub in interface Substitutions - The substitution to applied
public void save(IJml2bConfiguration config,
                 JpoOutputStream s,
                 IJmlFile jf)
          throws java.io.IOException
Substitution
save in interface Substitutionconfig - s - output stream for the jpo filejf - 
java.io.IOExceptionjml2b.pog.NonObviousGoal#save(DataOutputStream, JmlFile, IJmlFile)public Formula getField()
public Formula getInstance()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||