@Test public void testYearsParticipatedMap() { YearsParticipatedWriter.YearsParticipatedInfo info = mMap.call(mYearsParticipated); assertNotNull(info); assertEquals(info.teamKey, mTeamKey); assertEquals(info.yearsParticipated, mYearsParticipated); }
@Override public YearsParticipatedInfo call(List<Integer> elements) { return new YearsParticipatedInfo(mTeamKey, elements); }
YearsParticipatedInfoMap implements Func1<List<Integer>, YearsParticipatedInfo> { @Override public YearsParticipatedInfo call(List<Integer> elements) { return new YearsParticipatedInfo(mTeamKey, elements); } }
YearsParticipatedInfoMap implements Func1<List<Integer>, YearsParticipatedInfo> { @Override public YearsParticipatedInfo call(List<Integer> elements) { return new YearsParticipatedInfo(mTeamKey, elements); } YearsParticipatedInfoMap(String teamKey); }
YearsParticipatedInfoMap implements Func1<List<Integer>, YearsParticipatedInfo> { @Override public YearsParticipatedInfo call(List<Integer> elements) { return new YearsParticipatedInfo(mTeamKey, elements); } YearsParticipatedInfoMap(String teamKey); @Override YearsParticipatedInfo call(List<Integer> elements); }
YearsParticipatedInfoMap implements Func1<List<Integer>, YearsParticipatedInfo> { @Override public YearsParticipatedInfo call(List<Integer> elements) { return new YearsParticipatedInfo(mTeamKey, elements); } YearsParticipatedInfoMap(String teamKey); @Override YearsParticipatedInfo call(List<Integer> elements);  }