Browse Source

Missing file from last commit.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8400 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 12 years ago
parent
commit
a783609238
  1. 13
      prism/src/explicit/StateValues.java

13
prism/src/explicit/StateValues.java

@ -46,11 +46,12 @@ import prism.PrismException;
import prism.PrismLangException;
import prism.PrismLog;
import prism.PrismUtils;
import prism.StateVector;
/**
* Class for explicit-state storage of a state-indexed vector of values (int, double, boolean).
*/
public class StateValues
public class StateValues implements StateVector
{
// Type (int, double or boolean)
protected Type type;
@ -1275,9 +1276,13 @@ public class StateValues
// METHODS TO ACCESS VECTOR DATA
/**
* Get the value of the ith element of the vector, as an Object.
*/
@Override
public int getSize()
{
return size;
}
@Override
public Object getValue(int i)
{
if (type instanceof TypeInt) {

Loading…
Cancel
Save