Browse Source

State.setValue returns a copy of the object (for chaining purposes).

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10103 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 11 years ago
parent
commit
68960327c1
  1. 3
      prism/src/parser/State.java

3
prism/src/parser/State.java

@ -117,9 +117,10 @@ public class State implements Comparable<State>
/** /**
* Set the {@code i}th value to {@code val}. * Set the {@code i}th value to {@code val}.
*/ */
public void setValue(int i, Object val)
public State setValue(int i, Object val)
{ {
varValues[i] = val; varValues[i] = val;
return this;
} }
/** /**

Loading…
Cancel
Save