@Test public void testSerialization1() throws ProcessorException, PrintException, ReadException { ClonePrinter printer = new ClonePrinter(); CloneReader reader = new CloneReader(); CountDecimate proc = new CountDecimate(5); Object e = printer.print(proc); assertNotNull(e); Object o = reader.read(e); assertNotNull(o); assertTrue(o instanceof CountDecimate); CountDecimate proc2 = (CountDecimate) o; assertFalse(proc == proc2); assertEquals(5, proc2.getInterval()); assertEquals(0, proc2.getInputCount()); assertEquals(0, proc2.getOutputCount()); }
public int getInterval() { return m_interval; }
CountDecimate extends Decimate { public int getInterval() { return m_interval; } }
CountDecimate extends Decimate { public int getInterval() { return m_interval; } CountDecimate();  CountDecimate(int interval);  CountDecimate(int interval, boolean should_process_last_inputs); }
CountDecimate extends Decimate { public int getInterval() { return m_interval; } CountDecimate();  CountDecimate(int interval);  CountDecimate(int interval, boolean should_process_last_inputs); int getInterval(); @Override void reset(); @Override CountDecimate duplicate(boolean with_state); }
CountDecimate extends Decimate { public int getInterval() { return m_interval; } CountDecimate();  CountDecimate(int interval);  CountDecimate(int interval, boolean should_process_last_inputs); int getInterval(); @Override void reset(); @Override CountDecimate duplicate(boolean with_state);  }