blob: 92852ebff18611c6953837c63ad6018b47580661 [file] [log] [blame]
// 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 gnu
{
namespace java
{
namespace lang
{
class CPStringBuilder;
}
}
}
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(::gnu::java::lang::CPStringBuilder *, ::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__