aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/text/ChoiceFormat.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
commit97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch)
tree996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/java/text/ChoiceFormat.h
parentc648dedbde727ca3f883bb5fd773aa4af70d3369 (diff)
downloadgcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.zip
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.bz2
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/java/text/ChoiceFormat.h')
-rw-r--r--libjava/java/text/ChoiceFormat.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/libjava/java/text/ChoiceFormat.h b/libjava/java/text/ChoiceFormat.h
new file mode 100644
index 0000000..30aa77a
--- /dev/null
+++ b/libjava/java/text/ChoiceFormat.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_ChoiceFormat__
+#define __java_text_ChoiceFormat__
+
+#pragma interface
+
+#include <java/text/NumberFormat.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class ChoiceFormat;
+ class FieldPosition;
+ class ParsePosition;
+ }
+ }
+}
+
+class java::text::ChoiceFormat : public ::java::text::NumberFormat
+{
+
+public:
+ virtual void applyPattern(::java::lang::String *);
+ ChoiceFormat(::java::lang::String *);
+ ChoiceFormat(JArray< jdouble > *, JArray< ::java::lang::String * > *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::StringBuffer * format(jlong, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual ::java::lang::StringBuffer * format(jdouble, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual JArray< ::java::lang::Object * > * getFormats();
+ virtual JArray< jdouble > * getLimits();
+ virtual jint hashCode();
+ static jdouble nextDouble(jdouble);
+ static jdouble nextDouble(jdouble, jboolean);
+ virtual ::java::lang::Number * parse(::java::lang::String *, ::java::text::ParsePosition *);
+ static jdouble previousDouble(jdouble);
+ virtual void setChoices(JArray< jdouble > *, JArray< ::java::lang::String * > *);
+private:
+ void quoteString(::java::lang::StringBuffer *, ::java::lang::String *);
+public:
+ virtual ::java::lang::String * toPattern();
+private:
+ JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::text::NumberFormat)))) choiceFormats;
+ JArray< jdouble > * choiceLimits;
+ static const jint mantissaBits = 52;
+ static const jint exponentBits = 11;
+ static const jlong serialVersionUID = 1795184449645032964LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_ChoiceFormat__