@Test public void getCurrentCollectionTest() { assertSame(t0, tsdata.getCurrentCollection()); verifyZeroInteractions(t0, t1, t2); }
@Override public TimeSeriesCollection getCurrentCollection() { if (history_.isEmpty()) return new EmptyTimeSeriesCollection(TimeSeriesCollection.now()); return history_.get(0); }
ImmutableTimeSeriesCollectionPair implements TimeSeriesCollectionPair { @Override public TimeSeriesCollection getCurrentCollection() { if (history_.isEmpty()) return new EmptyTimeSeriesCollection(TimeSeriesCollection.now()); return history_.get(0); } }
ImmutableTimeSeriesCollectionPair implements TimeSeriesCollectionPair { @Override public TimeSeriesCollection getCurrentCollection() { if (history_.isEmpty()) return new EmptyTimeSeriesCollection(TimeSeriesCollection.now()); return history_.get(0); } ImmutableTimeSeriesCollectionPair(List<? extends TimeSeriesCollection> tsc, Optional<TimeSeriesCollectionPair> parent);  ImmutableTimeSeriesCollectionPair(List<? extends TimeSeriesCollection> tsc);  ImmutableTimeSeriesCollectionPair(List<? extends TimeSeriesCollection> tsc, TimeSeriesCollectionPair parent); }
ImmutableTimeSeriesCollectionPair implements TimeSeriesCollectionPair { @Override public TimeSeriesCollection getCurrentCollection() { if (history_.isEmpty()) return new EmptyTimeSeriesCollection(TimeSeriesCollection.now()); return history_.get(0); } ImmutableTimeSeriesCollectionPair(List<? extends TimeSeriesCollection> tsc, Optional<TimeSeriesCollectionPair> parent);  ImmutableTimeSeriesCollectionPair(List<? extends TimeSeriesCollection> tsc);  ImmutableTimeSeriesCollectionPair(List<? extends TimeSeriesCollection> tsc, TimeSeriesCollectionPair parent); @Override TimeSeriesCollection getCurrentCollection(); @Override Optional<TimeSeriesCollection> getPreviousCollection(int n); @Override TimeSeriesCollection getPreviousCollectionAt(DateTime ts); @Override int size(); }
ImmutableTimeSeriesCollectionPair implements TimeSeriesCollectionPair { @Override public TimeSeriesCollection getCurrentCollection() { if (history_.isEmpty()) return new EmptyTimeSeriesCollection(TimeSeriesCollection.now()); return history_.get(0); } ImmutableTimeSeriesCollectionPair(List<? extends TimeSeriesCollection> tsc, Optional<TimeSeriesCollectionPair> parent);  ImmutableTimeSeriesCollectionPair(List<? extends TimeSeriesCollection> tsc);  ImmutableTimeSeriesCollectionPair(List<? extends TimeSeriesCollection> tsc, TimeSeriesCollectionPair parent); @Override TimeSeriesCollection getCurrentCollection(); @Override Optional<TimeSeriesCollection> getPreviousCollection(int n); @Override TimeSeriesCollection getPreviousCollectionAt(DateTime ts); @Override int size();  }