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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_text_DecimalFormat__
#define __java_text_DecimalFormat__
#pragma interface
#include <java/text/NumberFormat.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace lang
{
class CPStringBuilder;
}
}
}
namespace java
{
namespace math
{
class BigDecimal;
}
namespace text
{
class AttributedCharacterIterator;
class DecimalFormat;
class DecimalFormatSymbols;
class FieldPosition;
class NumberFormat$Field;
class ParsePosition;
}
}
}
class java::text::DecimalFormat : public ::java::text::NumberFormat
{
public:
DecimalFormat();
DecimalFormat(::java::lang::String *);
DecimalFormat(::java::lang::String *, ::java::text::DecimalFormatSymbols *);
virtual void applyLocalizedPattern(::java::lang::String *);
virtual void applyPattern(::java::lang::String *);
virtual ::java::lang::Object * clone();
virtual jboolean equals(::java::lang::Object *);
virtual jint hashCode();
virtual ::java::lang::StringBuffer * format(::java::lang::Object *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
virtual ::java::lang::StringBuffer * format(jdouble, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
virtual ::java::lang::StringBuffer * format(jlong, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
virtual ::java::text::AttributedCharacterIterator * formatToCharacterIterator(::java::lang::Object *);
virtual ::java::util::Currency * getCurrency();
virtual ::java::text::DecimalFormatSymbols * getDecimalFormatSymbols();
virtual jint getGroupingSize();
virtual jint getMultiplier();
virtual ::java::lang::String * getNegativePrefix();
virtual ::java::lang::String * getNegativeSuffix();
virtual ::java::lang::String * getPositivePrefix();
virtual ::java::lang::String * getPositiveSuffix();
virtual jboolean isDecimalSeparatorAlwaysShown();
virtual void setParseBigDecimal(jboolean);
virtual jboolean isParseBigDecimal();
virtual ::java::lang::Number * parse(::java::lang::String *, ::java::text::ParsePosition *);
virtual void setCurrency(::java::util::Currency *);
virtual void setDecimalFormatSymbols(::java::text::DecimalFormatSymbols *);
virtual void setDecimalSeparatorAlwaysShown(jboolean);
virtual void setGroupingSize(jint);
virtual void setMaximumIntegerDigits(jint);
virtual void setMinimumIntegerDigits(jint);
virtual void setMaximumFractionDigits(jint);
virtual void setMinimumFractionDigits(jint);
virtual void setMultiplier(jint);
virtual void setNegativePrefix(::java::lang::String *);
virtual void setNegativeSuffix(::java::lang::String *);
virtual void setPositivePrefix(::java::lang::String *);
virtual void setPositiveSuffix(::java::lang::String *);
virtual ::java::lang::String * toLocalizedPattern();
virtual ::java::lang::String * toPattern();
private:
jboolean equals(::java::lang::String *, ::java::lang::String *);
::java::lang::String * patternChars(::java::text::DecimalFormatSymbols *);
::gnu::java::lang::CPStringBuilder * quoteFix(::java::lang::String *, ::java::lang::String *);
::java::lang::String * computePattern(::java::text::DecimalFormatSymbols *);
void applyPatternWithSymbols(::java::lang::String *, ::java::text::DecimalFormatSymbols *);
jint scanFix(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint, jboolean);
jint scanNumberInteger(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
jint scanFractionalPortion(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
jint scanExponent(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
void scanNegativePattern(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
void formatInternal(::java::math::BigDecimal *, jboolean, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
void handleFractionalPart(::java::lang::StringBuffer *, ::java::lang::String *, ::java::text::FieldPosition *, jboolean);
void appendZero(::java::lang::StringBuffer *, jint, jint);
void appendDigit(::java::lang::String *, ::java::lang::StringBuffer *, jboolean);
jlong getExponent(::java::math::BigDecimal *);
::java::lang::String * adjustTrailingZeros(::java::lang::String *, jint);
void addAttribute(::java::text::NumberFormat$Field *, jint, jint);
void setDefaultValues();
static const jlong serialVersionUID = 864413376551465018LL;
static const jint DEFAULT_INTEGER_DIGITS = 309;
static const jint DEFAULT_FRACTION_DIGITS = 340;
static ::java::text::DecimalFormatSymbols * nonLocalizedSymbols;
jboolean __attribute__((aligned(__alignof__( ::java::text::NumberFormat)))) parseBigDecimal;
jboolean useCurrencySeparator;
jboolean decimalSeparatorAlwaysShown;
jboolean showDecimalSeparator;
jboolean groupingSeparatorInPattern;
jbyte groupingSize;
jbyte minExponentDigits;
jint exponentRound;
jint multiplier;
jint negativePatternMultiplier;
::java::lang::String * negativePrefix;
::java::lang::String * negativeSuffix;
::java::lang::String * positivePrefix;
::java::lang::String * positiveSuffix;
::java::text::DecimalFormatSymbols * symbols;
jboolean useExponentialNotation;
jint maxIntegerDigitsExponent;
jboolean hasNegativePrefix;
jboolean hasFractionalPattern;
::java::util::ArrayList * attributes;
public:
static ::java::lang::Class class$;
};
#endif // __java_text_DecimalFormat__
|