- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
public PriceComparator {
private PriceComparator INSTANCE;
public PriceComparator() {
INSTANCE = this;
}
public PriceComparator getInstance() {
return INSTANCE;
}
...
}
someone 23.10.2014 06:19 # +5
bormand 23.10.2014 06:55 # +3
Ой, у него же getInstance() не статик :(
1024-- 23.10.2014 07:42 # +2
roman-kashitsyn 23.10.2014 08:57 # +1
Lure Of Chaos 23.10.2014 09:54 # 0
roman-kashitsyn 23.10.2014 10:00 # 0
Lure Of Chaos 23.10.2014 10:05 # 0