@Test(expected = X13Exception.class) public void testSetBPUpperBound() { ArimaSpec expected = new ArimaSpec(); expected.setBP(2); }
@Override public void setBP(int value) { if (value > MAXBP) { throw new X13Exception("BP must be <= "+Integer.toString(MAXBP)); } super.setBP(value); }
ArimaSpec extends DefaultArimaSpec { @Override public void setBP(int value) { if (value > MAXBP) { throw new X13Exception("BP must be <= "+Integer.toString(MAXBP)); } super.setBP(value); } }
ArimaSpec extends DefaultArimaSpec { @Override public void setBP(int value) { if (value > MAXBP) { throw new X13Exception("BP must be <= "+Integer.toString(MAXBP)); } super.setBP(value); } ArimaSpec(); }
ArimaSpec extends DefaultArimaSpec { @Override public void setBP(int value) { if (value > MAXBP) { throw new X13Exception("BP must be <= "+Integer.toString(MAXBP)); } super.setBP(value); } ArimaSpec(); @Override ArimaSpec clone(); @Override void setP(int value); @Override void setD(int value); @Override void setQ(int value); @Override void setBP(int value); @Override void setBD(int value); @Override void setBQ(int value); }
ArimaSpec extends DefaultArimaSpec { @Override public void setBP(int value) { if (value > MAXBP) { throw new X13Exception("BP must be <= "+Integer.toString(MAXBP)); } super.setBP(value); } ArimaSpec(); @Override ArimaSpec clone(); @Override void setP(int value); @Override void setD(int value); @Override void setQ(int value); @Override void setBP(int value); @Override void setBD(int value); @Override void setBQ(int value); static final int MAXP; }