citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java
private List<ViewRiksdagenVoteDataBallotPartySummaryDaily> getMaxSizeViewRiksdagenVoteDataBallotPartySummaryDaily() {
		initPartyMap();

		final Optional<Entry<String, List<ViewRiksdagenVoteDataBallotPartySummaryDaily>>> first = partyMap.entrySet()
				.stream().sorted((e1, e2) -> Integer.compare(e2.getValue().size(), e1.getValue().size())

		).findFirst();

		if (first.isPresent()) {
			return first.get().getValue();
		} else {
			return new ArrayList<>();
		}
	}
private List<ViewRiksdagenVoteDataBallotPartySummaryDaily> getMaxSizeViewRiksdagenVoteDataBallotPartySummaryDaily() {
		initPartyMap();

		final Optional<Entry<String, List<ViewRiksdagenVoteDataBallotPartySummaryDaily>>> first = partyMap.entrySet()
				.stream().sorted((e1, e2) -> Integer.compare(e2.getValue().size(), e1.getValue().size())

		).findFirst();

		if (first.isPresent()) {
			return first.get().getValue();
		} else {
			return new ArrayList<>();
		}
	}
private List < ViewRiksdagenVoteDataBallotPartySummaryDaily > getMaxSizeViewRiksdagenVoteDataBallotPartySummaryDaily ( ) { initPartyMap ( ) ; final Optional < Entry < String , List < ViewRiksdagenVoteDataBallotPartySummaryDaily > > > first = partyMap . entrySet ( ) . stream ( ) . sorted ( ( e1 , e2 ) -> Integer . compare ( e2 . getValue ( ) . size ( ) , e1 . getValue ( ) . size ( ) ) ) . findFirst ( ) ; if ( first . isPresent ( ) ) { return first . get ( ) . getValue ( ) ; } else { return new ArrayList <> ( ) ; } }
Gets the max size view riksdagen vote data ballot party summary daily.

@return the max size view riksdagen vote data ballot party summary daily
Gets the max size view riksdagen vote data ballot party summary daily .