@Test public void shouldMaximumSizeBeAccessible() throws IOException { final int maximumSize = 1000; final Storage storage = createStorage(maximumSize, new LinkedList<Pair<Long, int[]>>()); Assert.assertEquals(maximumSize, storage.getMaximumSize()); }
protected final int getMaximumSize() { return this.maximumSize; }
Storage implements Reader { protected final int getMaximumSize() { return this.maximumSize; } }
Storage implements Reader { protected final int getMaximumSize() { return this.maximumSize; } Storage(final int maximumSize); }
Storage implements Reader { protected final int getMaximumSize() { return this.maximumSize; } Storage(final int maximumSize); @Override Optional<Long> beginning(); @Override Optional<Long> end(); @Override Iterable<Pair<Long, int[]>> during(final long beginning, final long end); abstract void append(long timestamp, int[] values); }
Storage implements Reader { protected final int getMaximumSize() { return this.maximumSize; } Storage(final int maximumSize); @Override Optional<Long> beginning(); @Override Optional<Long> end(); @Override Iterable<Pair<Long, int[]>> during(final long beginning, final long end); abstract void append(long timestamp, int[] values);  }