AvatarBuilderSelection.java
1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package com.bitstrips.imoji.abv3;
import android.support.annotation.Nullable;
import com.bitstrips.imoji.abv3.model.AvatarBrand;
import com.bitstrips.imoji.abv3.model.AvatarLookAlike;
import com.bitstrips.imoji.abv3.model.AvatarOption;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
public class AvatarBuilderSelection
{
private Map<String, Integer> a = new HashMap();
private AvatarLookAlike b;
private AvatarBrand c;
public AvatarLookAlike getLookAlike()
{
return this.b;
}
@Nullable
public AvatarBrand getSelectedBrand()
{
return this.c;
}
public Integer getSelectedOption(String paramString)
{
return (Integer)this.a.get(paramString);
}
public Map<String, Integer> getSelectedOptions()
{
return Collections.unmodifiableMap(this.a);
}
public Map<String, Integer> getSelectedOptionsWithLookAlike()
{
HashMap localHashMap = new HashMap();
if (this.b != null) {
localHashMap.putAll(this.b.getValueMap());
}
localHashMap.putAll(this.a);
return Collections.unmodifiableMap(localHashMap);
}
public void setBrand(AvatarBrand paramAvatarBrand)
{
this.c = paramAvatarBrand;
}
public void setLookAlike(AvatarLookAlike paramAvatarLookAlike)
{
this.b = paramAvatarLookAlike;
}
public void setOption(String paramString, AvatarOption paramAvatarOption)
{
Map localMap = this.a;
if (paramAvatarOption == null) {}
for (paramAvatarOption = null;; paramAvatarOption = Integer.valueOf(paramAvatarOption.getValue()))
{
localMap.put(paramString, paramAvatarOption);
return;
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/abv3/AvatarBuilderSelection.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/