- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 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
public class AdvancedBoolean {
private boolean result;
private DefenitionDictionary.RESULT_CODE code;
//------------------------------------------------------------------------------
//constructors
//------------------------------------------------------------------------------
public AdvancedBoolean() {
result = true;
}
public AdvancedBoolean(boolean _result) {
result = _result;
}
public AdvancedBoolean(boolean _result, DefenitionDictionary.RESULT_CODE _code) {
result = _result;
code = _code;
}
//------------------------------------------------------------------------------
//get methods
//------------------------------------------------------------------------------
public boolean isResult() {
return result;
}
public DefenitionDictionary.RESULT_CODE getCode() {
return code;
}
//------------------------------------------------------------------------------
//set methods
//------------------------------------------------------------------------------
public void setResult(boolean _result) {
result = _result;
}
public void setCode(DefenitionDictionary.RESULT_CODE _code) {
code = _code;
}
//------------------------------------------------------------------------------
//other methods
//------------------------------------------------------------------------------
public String getLabel() {
return code.getResultLabel();
}
}
bormand 19.11.2019 15:08 # +2
CEMEH 19.11.2019 19:14 # 0
Крестушки так вообще настолько обрадовались подгону, что у них vector<bool> упакованное исключение из правил.
BJlADuMuPCKuu_nemxy 19.11.2019 21:50 # 0
gost 19.11.2019 15:34 # +2
Ух, бля…
bormand 19.11.2019 15:57 # +1
Fike 19.11.2019 15:42 # 0
> без комментариев
> //other methods
CEMEH 19.11.2019 16:15 # 0
Rooster 25.11.2019 05:32 # 0
AdvancedBoolean
ProfessionalBoolean
XYPO3BO3 25.11.2019 13:43 # 0