@Test(groups = "1s", timeOut=60000, expectedExceptions = IndexOutOfBoundsException.class) public void testGetDecision2() throws Exception { dp.getDecision(4); }
public Decision getDecision(int i) { if (i < 0 || i >= decisions.size()) { throw new IndexOutOfBoundsException("Index: " + i + ", Size: " + decisions.size()); } return decisions.get(i); }
DecisionPath extends DecisionMaker implements Serializable { public Decision getDecision(int i) { if (i < 0 || i >= decisions.size()) { throw new IndexOutOfBoundsException("Index: " + i + ", Size: " + decisions.size()); } return decisions.get(i); } }
DecisionPath extends DecisionMaker implements Serializable { public Decision getDecision(int i) { if (i < 0 || i >= decisions.size()) { throw new IndexOutOfBoundsException("Index: " + i + ", Size: " + decisions.size()); } return decisions.get(i); } DecisionPath(IEnvironment environment); }
DecisionPath extends DecisionMaker implements Serializable { public Decision getDecision(int i) { if (i < 0 || i >= decisions.size()) { throw new IndexOutOfBoundsException("Index: " + i + ", Size: " + decisions.size()); } return decisions.get(i); } DecisionPath(IEnvironment environment); void buildNext(); void apply(); void pushDecision(Decision decision); void synchronize(); void synchronize(boolean free); Decision getLastDecision(); int size(); Decision getDecision(int i); void transferInto(Collection<Decision> aList, boolean includeRootDecision); String lastDecisionToString(); @Override String toString(); }
DecisionPath extends DecisionMaker implements Serializable { public Decision getDecision(int i) { if (i < 0 || i >= decisions.size()) { throw new IndexOutOfBoundsException("Index: " + i + ", Size: " + decisions.size()); } return decisions.get(i); } DecisionPath(IEnvironment environment); void buildNext(); void apply(); void pushDecision(Decision decision); void synchronize(); void synchronize(boolean free); Decision getLastDecision(); int size(); Decision getDecision(int i); void transferInto(Collection<Decision> aList, boolean includeRootDecision); String lastDecisionToString(); @Override String toString();  }