Subversion Repositories SmartDukaan

Rev

Rev 31523 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31523 Rev 31538
Line 11... Line 11...
11
	NEW("Rising Star");
11
	NEW("Rising Star");
12
 
12
 
13
	private static final List<PartnerType> partnerTypes = new UnmodifiableList<>(
13
	private static final List<PartnerType> partnerTypes = new UnmodifiableList<>(
14
			Arrays.asList(BRONZE, SILVER, GOLD, DIAMOND, PLATINUM));
14
			Arrays.asList(BRONZE, SILVER, GOLD, DIAMOND, PLATINUM));
15
 
15
 
16
	public static final Map<PartnerType, Integer> PartnerTypeRankMap = new HashMap<>();
16
	public static final Map<PartnerType, Integer> PartnerTypeRankMap = new LinkedHashMap<>();
17
 
17
 
18
	static {
18
	static {
19
		PartnerTypeRankMap.put(PartnerType.BRONZE, 1);
19
		PartnerTypeRankMap.put(PartnerType.BRONZE, 1);
20
		PartnerTypeRankMap.put(PartnerType.SILVER, 2);
20
		PartnerTypeRankMap.put(PartnerType.SILVER, 2);
21
		PartnerTypeRankMap.put(PartnerType.GOLD, 3);
21
		PartnerTypeRankMap.put(PartnerType.GOLD, 3);